Quote:
|
Originally Posted by Prozac
when you say
thiso.variablename
does the o after the word this
stand for object?
or what?
|
thiso = 'this outside' (basically - don't know if that's the technical term).
Think of it this way:
PHP Code:
function someSillyFunctar()
{
this.myvar = "foo";
with (someObject)
{
this.myvar = "bar";
echo(thiso.myvar); //echos 'foo';
echo(this.myvar); // echos 'bar'
}
}
'thiso' accesses 'this' variables in the previous enviornment. There is also a 'tempo' I think, or I might be thinking of 'playero', I can't remember.