Archive: Local variables


Local variables
wiki article
Cue applause.

Seriously though, if anyone finds any problems or has any comments/improvements please let me know.


Kill me for saying this, but... What's ever wrong with using the stack? O_O


Nothing at all, unless you have a lot of complex functions going many calls deep. My project has about 500 functions and until now I've spent at least half my time debugging stack and register corruption between function calls.

If you don't see a use for it then no worries - it just isn't aimed at your project.