Re: global statement - How to use?
- Posted by DerekParnell (admin) Jan 06, 2013
- 997 views
sergelli said...
Using global variables in previous versions of Euphoria, was pretty easy: see this code:
include one.e xxxx = yyyy -- yyyy is declared as global inside one.e and visible here
Now I installed version 4.0.5 and it no longer works.
I tried to read the manual to use the yyyy variable as global, but did not understand anything.
How do I declare as global inside of file one.e?
How do I use a variable declared inside the file include one.e?
Could someone please pass me an example?
Thanks in advance
I should still work. The meaning of global has not changed.
In my testing it works just fine. Can you show us what you have in one.e?