Hi,
I need a way to save a variable in a function.
I want to do something like this.
On functioncall set a variable and another function call gets the variable
set by the other function call.
Something like this.
function set_get(name)
{
if(name != "")
var name = name;
else
return name;
}
Sindre
I need a way to save a variable in a function.
I want to do something like this.
On functioncall set a variable and another function call gets the variable
set by the other function call.
Something like this.
function set_get(name)
{
if(name != "")
var name = name;
else
return name;
}
Sindre
Comment