Path: utzoo!attcan!uunet!husc6!necntc!linus!alliant!rosenkra
From: rosenkra@Alliant.COM (Bill Rosenkranz)
Newsgroups: comp.sys.atari.st
Subject: Re: MWC & large arrays -- help!
Message-ID: <2073@alliant.Alliant.COM>
Date: 29 Jun 88 23:34:16 GMT
References: <734@cacilj.UUCP> <46700008@hcx2> <411@brambo.UUCP> <767@lakesys.UUCP> <2921@tekig5.TEK.COM>
Reply-To: rosenkra@alliant.UUCP (Bill Rosenkranz)
Organization: Alliant Computer Systems, Littleton, MA
Lines: 16


----
regarding large arrays, are we talking about local arrays (defined inside a
function) or globals? i know that even the first st version of alcyon
(for example) has no problems with a global like

	unsigned int	array[100000];

though local arrays of this size are probably not possible (have never even
needed to try it out).

an obvious solution to this whole problem is to Malloc (not malloc) the space
and then refer to the pointer. this works with 1 dimensional arrays but
multidimensional arrays would be tricky.

-bill