Define type for a reference object in Monad scripting language.
public ref class PSReference
public class PSReference
type PSReference = class
Public Class PSReference
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
Create an instance of PSReference.
Get and set value of PSReference.