Object Access

Top  Previous  Next

Once the object is created, objvar can be used to reference that object's properties and functions, using the apostrophe (') operator (-> is a synonym for '):

 

objvar'property[$]=var[$] | number | "string" | expression

var[$]=objvar->property[$]

 

objvar->function(arg1[$][,…])

var[$]=objvar->function(arg1[$][,…])

 

Functions can be accessed as functions, which return a value, or as subroutines, which simply execute the function code.