UShort_new

Homepage
Wrappers

Creates a new UShort object.

UShortObject := UShort_new(value = 0)

Parameters

value The value to initialize the UShort object to.

Return Value

Address for the newly created UShort object.

Remarks

If the system has insufficient memory to create the object (very rare), zero will be returned.

Related

UShort_destroy

UShort

Examples

;Creates a new UShort initialized to 42
myUShort := UShort_new(42)

Homepage  |  Wrappers