<div dir="ltr"><div>umm i cannot avoid the "global." prefix! right?<br><br></div>well thanks in any case!<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.com</a></font></div></div></div>
<br><div class="gmail_quote">2018-06-15 14:39 GMT-04:00 Tobias Boege <span dir="ltr"><<a href="mailto:taboege@gmail.com" target="_blank">taboege@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 15 Jun 2018, PICCORO McKAY Lenz wrote:<br>
> this are necesary at leats for web application programs!<br>
> <br>
> how can i emulate GLOBAL VARIABLES in gambas project/programs?<br>
> <br>
<br>
</span>The usual way is to make a module and declare all your variables<br>
inside it using Public:<br>
<br>
  ' Global.module:<br>
  Public X As Integer<br>
<br>
Now you can access Global.X anywhere in your program and all<br>
places will access the same location in memory.<br>
<br>
Regards,<br>
Tobi<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
"There's an old saying: Don't change anything... ever!" -- Mr. Monk<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</font></span></blockquote></div><br></div>