up: INT16     index Zimbu documentation

CLASS INT16.int16 @public

summary

     

The builtin type int16: 16 bit integer number.

Although this is a separate type, the methods for int are used. Listed here are only the methods that differ from the int methods.

Note: When compiled to Javascript an int16 is stored as a float, since Javascript only supports float numbers.

$Size() int @public  Return the number of bytes in an int16.
 
 

members (alphabetically)

     

FUNC $Size() int @public

     

Return the number of bytes in an int16.

Always returns 2, since an int16 is 16 bits

license

      Copyright 2014 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0