27 of 323
ZBasic System Library 17 ZX Microcontroller Family In the descriptions that follow, the parameter types that are accepted by each routine are described. Some parameters accept a specific fundamental data type while others may accept a few similar types. Others accept virtually any parameter type. In order to more succinctly describe the types of parameters accepted, some descriptive type categories are used. For example, the category integral is used to connote those types that have the integral characteristic, such as Byte, Integer, UnsignedInteger, Long and UnsignedLong. The table below indicates which types belong to which categories. Type Category Membership Type/Category any type integral int8/16 int16 int32 any 32-bit signed numeric Boolean x Bit x x x x Nibble x x x x Byte x x x x Integer x x x x x x UnsignedInteger x x x x x Enum x Long x x x x x x UnsignedLong x x x x x Single x x x x String x The remainder of this document presents complete descriptions of each of the System Library routines, arranged in alphabetical order. Unless specifically noted otherwise, the descriptions apply to all ZX models. In some cases, a routine exhibits different behavior in BasicX compatibility mode or operates in a manner that is slightly different from that implemented in the BasicX environment. In these cases, the heading Compatibility will appear in the description detailing the differences. The advanced System Library routines that are not present in the BasicX environment are also similarly noted. If you are not using BasicX compatibility mode or are not upgrading BasicX code these notations may be safely ignored.