1. global statement - How to use?
- Posted by sergelli Jan 05, 2013
- 1099 views
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
2. Re: global statement - How to use?
- Posted by DerekParnell (admin) Jan 06, 2013
- 997 views
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?
3. Re: global statement - How to use?
- Posted by sergelli Jan 07, 2013
- 1019 views
Hi Derek
Sorry, it was my inexperience using globla and public statment.
Please, I want to delete this topic.
Thank you for your attention.
4. Re: global statement - How to use?
- Posted by _tom (admin) Jan 07, 2013
- 1006 views
If you did not understand the manual then it is the manual's fault.
Can you point out the exact section that was causing some confusion?
Now that you understand global better can you suggest an improvement to the manual?
5. Re: global statement - How to use?
- Posted by sergelli Jan 07, 2013
- 981 views
If you did not understand the manual then it is the manual's fault.
Can you point out the exact section that was causing some confusion?
Now that you understand global better can you suggest an improvement to the manual?
Sorry, but I do not think I can help, because I'm not fluent in the English language.
Certainly, this is the reason for my failure when not understood the manual.
Surely, the Manual of Language Euphoria is good.