Global Variable vs variable
Posted: Sat Dec 17, 2011 4:12 am
okay my question is what is the difference between char, int, string variables because I just went into the script editor and just simply created a variable and it was int type but now I am trying to make a if statement and make a conditional statement but I am having trouble.
this is my script:
if(Coll==1)
{
do this;
}
else if(Coll!==1)
{
do something else;
}
but it gives me errors like can not convert from char to int or unknown binhost, incomplete type and so on. so what am I doing wrong?
also how can I make my own functions and variables with global code?
this is my script:
if(Coll==1)
{
do this;
}
else if(Coll!==1)
{
do something else;
}
but it gives me errors like can not convert from char to int or unknown binhost, incomplete type and so on. so what am I doing wrong?
also how can I make my own functions and variables with global code?