BUT, the second example is using 2 different named common areas ... /test/ & /test2/ 
..... I'd guess if the DIMs were changed from 30000 to 33000 they would also fail ... 
if I'm right, 32768 would also fail (maybe 32769), and 32767 would be fine  ---> but I 
don't pretend to know the internals of how variable stack space is managed.

Ross Ferris
Stamina Software
Visage  an Evolution in Software Development


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:owner-u2-
>[EMAIL PROTECTED] On Behalf Of Ken Wallis
>Sent: Thursday, 24 June 2004 3:54 PM
>To: [EMAIL PROTECTED]
>Subject: RE: [U2] [UD] udtconfig memory settings
>
>Ross Ferris wrote:
>
>> Isn't there a 32K limit on the NUMBER of variables .... that
>> DIM statement will use 60K variables (even though it IS
>> sorta/kinda just one .... arrays are funny like that)
>
>Clearly UniData doesn't treat arrays that way, or Simon's second and third
>examples wouldn't work.
>
>Stuart posted earlier that there was a 64000 limit on the number of
>elements
>in an array on UniVerse, but I'm not sure if there is a hard limit on
>UniData, and if so, what that would be.
>
>Cheers,
>
>Ken
>
>> >Simon Lewington wrote:
>
>> >> BP TEST
>> >> 0001 PROGRAM TEST
>> >> 0002 COMMON /TEST/ TEST(60000)
>> >>
>> >> : RUN BP TEST
>> >> insufficient memory, requested size = -177152
>> >> and my session crashes.
>> >>
>> >> DIM TEST(60000); MAT TEST=''
>> >> works fine.
>> >>
>> >> COMMON /TEST/ TEST(30000)
>> >> COMMON /TEST2/ TEST2(30000)
>> >> is also fine.
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to