1. Declaring variable inside procedure
- Posted by evanmars Jan 20, 2011
- 1113 views
Is there a way to declare a variable inside a procedure/function and have it retain its value? (Would this be static? -which I realize does not exist)
Or do I still have to declare it outside of the procedure?
2. Re: Declaring variable inside procedure
- Posted by LarryMiller Jan 20, 2011
- 1168 views
At the present time it is not possible to declare a static variable in Euphoria. This has been discussed and may be implemented in a later version. At the present time you must declare the variable at a higher level.