-
Notifications
You must be signed in to change notification settings - Fork 2
_short
bergsma edited this page Sep 26, 2014
·
6 revisions
Syntax
result = short value ;
short variable [= value] ;
Arguments
- list value
A value of any type.
Return Value
ushort result
- -32768 to 32767 : A value from -32768 to 32767.
The STATUS variable is set to $ACKNOWLEDGE
When the argument is an array variable, all the elements in the array are converted, and the result will be a vector array Exceptions
-
%ARGUMENT: Invalid arguments. Usage: short variable [= value] ;
-
%IDENTIFIER: 'variable' argument is not a valid identifier, literal, or reference
Description
%FILE Examples
put short ( 32767 ) ; //== 32767
put short ( 32768 ) ; //== -32768
put short ( 65535 ) ; //== -1
put short ( 65536 ) ; //== 0
put short ( 65537 ) ; //== 1
Related Links