Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why does this crash?
#6
Another one i missed..

DIM|REDIM array w/o explicit dimensions won't be allowed anymore inside procs, as the descriptor size is unknown, making it impossible (the way the compiler works) to reserve the right amount of space for each variable on stack.

I could just assume the array had the max number of dimensions allowed (16), but that would waste memory and "DIM|REDIM array()" is just "aesthetic", as it does nothing -- but it looks better when declaring dynamic shared arrays on modules, that used to be done with "REDIM array( 0 )" that will waste code as the module main-level is never called ("DIM array()" looks better :P).
Reply


Messages In This Thread
Why does this crash? - by keeling - 03-03-2005, 02:17 AM
Why does this crash? - by Sterling Christensen - 03-03-2005, 02:45 AM
Why does this crash? - by lillo - 03-03-2005, 02:51 AM
Why does this crash? - by keeling - 03-03-2005, 03:04 AM
Why does this crash? - by keeling - 03-03-2005, 03:07 AM
Why does this crash? - by v3cz0r - 03-03-2005, 06:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)