Short_new

Homepage
Wrappers

Creates a new Short object.

ShortObject := Short_new(value = 0)

Parameters

value The value to initialize the Short object to.

Return Value

Address for the newly created Short object.

Remarks

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

Related

Short_destroy

Short

Examples

;Creates a new Short initialized to 42
myShort := Short_new(42)

Homepage  |  Wrappers