Quote:
Originally Posted by Kristi
Um, you can't do that, when you say vars = something, you're actually assinging it to vars, not test vars
PHP Code:
function onCreated() { temp.hello; hello = 2; sendtorc("TEST:" @ temp.hello); sendtorc("TEST2:" @ hello); }
Yields the following:
The best idler is the (Server): TEST:
The best idler is the (Server): TEST2:2
note that temp.hello is still null.
On another note, ziro, grey, and inver all have good styling imho
|
I was about to comment on this too:
PHP Code:
function onCreated() {
temp.i;
i = 34;
echo("onCreated(): i =" SPC i SPC "temp.i=" SPC temp.i);
test();
this.setTimer(1);
}
function onTimeout() {
echo("onTimeout(): i =" SPC i);
}
function test() {
echo("test(): i =" SPC i);
}
Returns:
HTML Code:
onCreated(): i = 34 temp.i=
test(): i = 34
onTimeout(): i = 34