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

External Variable
Author: Message:
AberNStein
Full Member
***


Posts: 132
Reputation: 2
Joined: Jul 2006
RE: External Variable
you can't create new variables on the fly with jscript afaik but you could do this with an associative array.

code:
var my_vars= new Array()

function setValue(name,data){
my_vars[name]=data;
}


note that you can assign a value to an item in the array without declaring that item.

This post was edited on 08-01-2006 at 02:39 PM by AberNStein.
[Image: gybouserbar6hc.gif]
08-01-2006 02:35 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
External Variable - by Uberstalker on 07-31-2006 at 11:16 PM
RE: External Variable - by matty on 07-31-2006 at 11:59 PM
RE: External Variable - by Uberstalker on 08-01-2006 at 12:04 AM
RE: External Variable - by bigbob85 on 08-01-2006 at 01:25 AM
RE: External Variable - by RaceProUK on 08-01-2006 at 08:58 AM
RE: External Variable - by AberNStein on 08-01-2006 at 02:35 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