PSReference Class

Definition

Define type for a reference object in Monad scripting language.

public class PSReference
Inheritance
PSReference

Remarks

This class is used to describe both kinds of references: a. reference to a value: _value will be holding the value being referenced. b. reference to a variable: _value will be holding a PSVariable instance for the variable to be referenced.

        A reference is created in following ways, 
            a. value reference
                $a = [ref] 3
                [ref] $a = 3
                [ref] $a = $b
            b. variable reference
                $a = [ref] $b

Constructors

PSReference(Object)

Create an instance of PSReference.

Properties

Value

Get and set value of PSReference.