Thread: Global variable
View Single Post
Author Message
Touch
Member
Join Date: Apr 2010
Location: Ukraine
Old 12-15-2010 , 05:51   Global variable
Reply With Quote #1

Hello!
Tell me please, with what the team can set a global variable? That the information in it available to all block (event).
That something like this, but define broken.
Thank you!
PHP Code:
if(strcmp(data1"1"true)) {
#define TEXT "1"
}
else
{
#define TEXT "0"
}
PrintToServer("TEXT - %s"TEXT);

Touch is offline
Send a message via Skype™ to Touch