Create a module. Add properties (variables), and make sure the variables are global (blue globe). And then they are global.

I name my modules depending on what they do. For example, in a single window app, I name one module 'modDB' and another one is just named module1.



Trausti

On 23.8.2006, at 12:28, Steven Hedgepeth wrote:


Ok, I found where constants go but what about public variables?
Steve


When using VB, I placed public variables and constants in the .bas module. I tried unsuccessfully to find an RB example that used public declarations. Is it correct to place them in a module and what are modules usually named? Can someone point out an example that shows how to use public declarations? Are they referred to as public or global in RB?

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to