Thread: gui windows x_X
View Single Post
  #9  
Old 03-18-2006, 12:37 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
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.
Reply With Quote