OK guys, try to run this with debug on... Notice how the first part of the for/next completes and the second part fails?
What I am trying to do is create a placeholder array for DirectPlay ID's that I can use as pointers for types to get a quick lookup. I need to allocate a 32bit integers worth of data as an array (-2147483648 To 2147483647). Not that even 2% of these numbers will ever be used... but they are unique and it just works that way. Anyways... Is there a way to use large numbers in blitz, and is there a bug with the below code?
Thanks,
Scott
What I am trying to do is create a placeholder array for DirectPlay ID's that I can use as pointers for types to get a quick lookup. I need to allocate a 32bit integers worth of data as an array (-2147483648 To 2147483647). Not that even 2% of these numbers will ever be used... but they are unique and it just works that way. Anyways... Is there a way to use large numbers in blitz, and is there a bug with the below code?
Thanks,
Scott
;Should be able to hold double this correct? Const IDS% = $7FFFFFFF Dim User_ID%(IDS%) ; Bliz uses 32 Signed integers right? ; Value of -2147483648 To 2147483647 For D = 1 To 5;Why do numbers 2 through 5 complete. User_ID%(D) = D Next For D = 1 To 6;Yet THIS fails.. what the heck? User_ID%(D) = D Next ;For D = 1 To 2147483647 ; Not even going to try. ; User_ID%(D) = D ;Next