Raised This Month: $ Target: $400
 0% 

variable question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CipryXXX
Junior Member
Join Date: Apr 2007
Location: Romania
Old 04-12-2007 , 15:54   variable question
Reply With Quote #1

is it posible to make a global variable,set a new value of the variable in a function and then test in a new function something with that variable from the first function,here is a example of what i am asking:
Code:
new variable
public test()
{
variable =1
}
public test2()
{
if (variable ==1)
...
}
i know its wron what is did in this code but i dont know how to say
CipryXXX is offline
Send a message via Yahoo to CipryXXX
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode