Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!hsdndev!cmcl2!adm!news From: RCIVDAB%HDETUD1.TUDELFT.NL@uga.cc.uga.edu ( Dim Biesheuvel) Newsgroups: comp.lang.pascal Subject: 8K-problem with VS Pascal Message-ID: <26812@adm.brl.mil> Date: 8 May 91 14:39:22 GMT Sender: news@adm.brl.mil Lines: 14 A user is converting a large (90K) Pascal program, which takes too much time with Turbo Pascal on his pc, to VS Pascal on the IBM mainframe. After several other problems he now runs into error message AMPT902S Routine exceeds 8K limit The manual suggests breaking up the routine in smaller ones, but, while this is done to a great extent, the error persists. The question is: what is costing so much coding space, so that 2 base registers are not sufficient? Are array-sizes and the numbers of arrays in a routine of influence on this part? Any suggestions on how to avoid this problem? We would be grateful. Dim Biesheuvel Rekencentrum Technische Universiteit Delft