New topic: 

Passing Values

<http://forums.realsoftware.com/viewtopic.php?t=29708>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       wex-alpha           Post subject: Passing ValuesPosted: Mon Aug 
24, 2009 6:28 am                        
Joined: Mon Jul 30, 2007 5:03 am
Posts: 16
Location: Sarajevo - Bosnia              Hello,

I am having problems with passing values.

I learned if I need to make a variable a global one, I need to put it in module 
and make property out of it.
So I did. I made a module and made a property consisting of a variable named 
test as String and no default values.

Now, I thought to fill that TEST variable somewhere from a code I simply do:

Code:
dim wex as string

wex = "help"
test = wex



That should fill my global variable. But whenever I try to use it, it turns to 
be empty. However, if I add a any value except default one than I can access 
that value. But, then it is a Constant, not variable.


Any help is appreciated.   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to