lang • short@

Short@

Result = Short@ ( Pointer AS Pointer )

Returns the Short value stored at the memory address specified by Pointer.

If the memory address is unreadable, a Bad argument (20) error is raised.

Result = Short@ ( String AS String )

Return the Short value stored in the two first characters of String.

If the string does not have at least two characters, either a Bad argument (20) error is raised or an undefined result is returned.

See also