Get/Set vars...
Displaying 1-1 of 1 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Omni

Is there a way to dynamically create new variables in the global namespace by setting them?

string NewVariable(string name, int value)
{
SetInt(name, value);
return name;
}

EDIT: Er, no, I'm afraid this doesn't work...though it doesn't return an error.

Posted on 2004-08-26 17:03:20 (last edited on 2004-08-26 17:31:13)


Displaying 1-1 of 1 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.