PDA

View Full Version : Constant in array declaration



Joe123
02-13-2010, 11:35 AM
I know I'm probably going to get a post-2.5 on this one, but thinking about it wouldn't it not be that hard to write it like the find-replace tool like a pre-parser sorta thing, once the script is loaded into the buffer and before parsing?

Gleeok
02-14-2010, 07:14 AM
Yeah, we also can't assign negative numbers to arrays, initialize arrays as arguments, or pass a const string as an argument. ..Or more importantly, get the stack pointer to to an array in the code. ..Actually... I'd like to overhaul arrays completely so that they are much faster, and can do the aforementioned efficiently, and maybe even use less memory.

Good points on all of them. Just bad timing.