In reality to write a compiler with Functions and Procedures makes it a different product. You lose all the flexibility you currently have. After a lot of thought on this subject I can only see the vars saved buy using a Local is worth all the effort converting your code. Even then it's not that often you run out of Ram. Code usage goes up a load when you start to shift data around just to use a Procedure, when a global is easier & quicker.
C is a procedural language but you have to write a lot more code to do the simple stuff like LCDOUT Bin vara. I will admit the ease that you can write new reusable routines is nice though.
Bookmarks