Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!helios.ee.lbl.gov!nosc!crash!jcs From: jcs@crash.cts.com (John Schultz) Newsgroups: comp.sys.amiga Subject: Re: Amiga Modula-2 News/Comments/Info Message-ID: <3084@crash.cts.com> Date: 10 Jun 90 18:46:34 GMT References: <2045@mindlink.UUCP> Organization: Crash TimeSharing, El Cajon, CA Lines: 27 X-Local-Date: 10 Jun 90 11:46:34 PDT In article <2045@mindlink.UUCP> a665@mindlink.UUCP (Anthon Pang) writes: >PS. I do own the Benchmark compiler...it is a good product but I have nits [1-3 deleted] > 4) the 64K limit applies to TYPEs, too...so AllocMem'ing is not a solution. >Except for #1, the chances of #2-4 making it into a compiler upgrade, anytime >rsn, is close to NIL, IMHO. Allocating memory (using AllocMem) *is* the solution. You can declare your type as ARRAY[0..1] of mydata and don't use range checking (who does?). The compiler will generate the correct code, all it needs to know is the size of your data. If the compiler does something like: add.w d0,d0 add.w d0,d0 or lsl.w #2,d0 to do a *4 index for your array, then 64k is still a limit. John John