243 of 307
ZBasic System Library 233 ZX Microcontroller Family SerialNumber Type Subroutine Invocation SerialNumber(serNum) Parameter Method Type Description serNum ByRef array of Byte The array to which the serial number will be written. Discussion A call to this routine will copy six bytes of serial number information to the provided array. At present, only three of the bytes are defined, representing the version number of the system firmware (for VM mode devices) or the ZX library code (for native mode devices). The first byte is the major version number, the second is the minor version number and the third byte is the variant number. The remaining bytes are undefined. Caution If the array provided is less than 6 bytes long, subsequent memory will be overwritten, possibly with detrimental results. Compatibility The serial number of this implementation may be different than that of BasicX.