global statement - How to use?

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu