TGlobal
Type member global variable
Methods
Method Get:Object()
Get global value
For reference types, this returns the object. For structs, it returns a TBoxedValue. For other value types, it returns a string representation of the value.
Method GetBoxed:Object()
Get global value
Like Get, but always returns a TBoxedValue for value types instead of converting the value to a string.
Method GetString:String()
Get global value as String
Method GetInt:Int()
Get global value as Int
Method GetLong:Long()
Get global value as Long
Method GetSizeT:Size_T()
Get global value as Size_T
Method GetFloat:Float()
Get global value as Float
Method GetDouble:Double()
Get global value as Double
Method GetPointer:Byte Ptr()
Get global value as Byte Ptr
Method GetStruct(targetPtr:Byte Ptr)
Get global value as struct
targetPtr must be a pointer to a variable of the correct struct type.
Method Set(value:Object)
Set global value
Method SetString(value:String)
Set global value from String
Method SetInt(value:Int)
Set global value from Int
Method SetLong(value:Long)
Set global value from Long
Method SetSizeT(value:Size_T)
Set global value from Size_T
Method SetFloat(value:Float)
Set global value from Float
Method SetDouble(value:Double)
Set global value from Double
Method SetPointer(value:Byte Ptr)
Set global value from Byte Ptr
Method SetStruct(structPtr:Byte Ptr)
Set field value from struct
structPtr must be a pointer to a variable of the correct struct type.
Method GlobalPtr:Byte Ptr()
Get pointer to the global
Method Invoke:Object(args:Object[] = Null)
Invoke global value
Global type must be a function pointer.
