Local structures, arrays and linked lists

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Local structures, arrays and linked lists

Post by Psychophanta »

When defining a Structure, a new linked list or an array (with Dim()) inside a Procedure it is defined as Global by default.
I request for an option, perhaps something like Local prefix to define it and use for valid only inside the procedure. :)
Might be using a separate stack mem for each defined procedure :?
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;