What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Public variables...

Public variables...
Author: Message:
Toneo
Junior Member
**

Avatar
Epic.

Posts: 35
Reputation: 2
29 / Male / Flag
Joined: Jul 2007
O.P. Huh?  Public variables...
Hi, I need help...

I have a variable declared outside of my function. However, it reads this variable from inside the function but in that function or any other function it won't change it. I have a boolean...

allow = true;

function blahBlah()
{
...stuff
if (stuff) { if (allow = true) { stuff } else { stuff } }
}

function otherStuff()
{
allow = false;
}

So when I do blahBlah() it works perfectly, When I change it however to false using otherStuff, and then use blahBlah, it still thinks that allow is true. Which it shouldn't be..
[Image: signature-user=291&back=4&clr=12,102,237&size=80.png]
11-04-2007 06:45 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Public variables... - by Toneo on 11-04-2007 at 06:45 PM
RE: Public variables... - by roflmao456 on 11-04-2007 at 06:54 PM
RE: Public variables... - by Toneo on 11-04-2007 at 06:55 PM
RE: Public variables... - by FlashTato on 11-04-2007 at 07:18 PM
RE: Public variables... - by Toneo on 11-04-2007 at 07:21 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On