symbols[]: global scope global global scope implicit__main MenuItem kill ( MenuItem ) Button kill ( Button ) type int8 = int8 type uint8 = uint8 type int16 = int16 type uint16 = uint16 type int32 = int32 type uint32 = uint32 type int64 = int64 type uint64 = uint64 type float64 = float32 type offs = int16 type addr = uint16 type void = void type byte = int8 type ubyte = uint8 type short = int16 type ushort = uint16 type long = int32 type ulong = uint32 type int = int16 type uint = uint16 type utf8char = enum uint8 type ucs1char = enum uint8 type ucs2char = enum uint16 type ucs4char = enum uint32 type utf8str = utf8char[] utf8str spacestr ( uint16 ) utf8str spacestr ( uint16, utf8char ) utf8str charstr ( uint16 ) ucs1char hexchar ( uint16 ) utf8str hexstr ( uint8 ) utf8str hexstr ( uint16 ) utf8str hexstr ( uint32 ) utf8str hexstr ( uint16, uint16 digits ) utf8str hexstr ( uint32, uint16 digits ) utf8str binstr ( uint8 ) utf8str binstr ( uint16 ) utf8str binstr ( uint32 ) utf8str binstr ( uint16, uint16 digits ) utf8str binstr ( uint32, uint16 digits ) utf8str binstr ( uint16, utf8str¢ o, utf8str¢ l ) utf8str binstr ( uint32, utf8str¢ o, utf8str¢ l ) utf8str numstr ( int16 ) utf8str numstr ( uint16 ) utf8str numstr ( int32 ) utf8str numstr ( uint32 ) utf8str toupper ( utf8str¢ ) utf8str tolower ( utf8str¢ ) utf8str escape ( utf8str¢, ucs1char leftquote ) utf8str unescape ( utf8str¢ ) utf8str urlencode ( utf8str¢ ) utf8str urldecode ( utf8str¢ ) utf8str entab ( utf8str¢, uint16 tabwidth ) utf8str detab ( utf8str¢, uint16 tabwidth ) utf8str toupper ( utf8char[to] ) utf8str tolower ( utf8char[to] ) utf8str escape ( utf8char[to], ucs1char leftquote ) utf8str unescape ( utf8char[to] ) utf8str urlencode ( utf8char[to] ) utf8str urldecode ( utf8char[to] ) utf8str entab ( utf8char[to], uint16 tabwidth ) utf8str detab ( utf8char[to], uint16 tabwidth ) ucs1str toucs1 ( utf8str¢ ) ucs2str toucs2 ( utf8str¢ ) utf8str toutf8 ( utf8str¢ ) ucs1str toucs1 ( utf8char[to] ) ucs2str toucs2 ( utf8char[to] ) utf8str toutf8 ( utf8char[to] ) utf8str min ( utf8str, utf8str ) utf8str min ( utf8str, utf8str¢ ) utf8str min ( utf8str¢, utf8str ) utf8str¢ min ( utf8str¢, utf8str¢ ) utf8str¢ min ( utf8str[]¢ ) utf8str¢ min ( utf8str[to] ) utf8str max ( utf8str, utf8str ) utf8str max ( utf8str, utf8str¢ ) utf8str max ( utf8str¢, utf8str ) utf8str¢ max ( utf8str¢, utf8str¢ ) utf8str¢ max ( utf8str[]¢ ) utf8str¢ max ( utf8str[to] ) void flip ( utf8str[to] ) void rol ( utf8str[to] ) void ror ( utf8str[to] ) void sort ( utf8str[to] ) void rsort ( utf8str[to] ) void shuffle ( utf8str[to] ) void revert ( utf8str[to] ) type ucs1str = ucs1char[] ucs1str spacestr ( uint16 ) ucs1str spacestr ( uint16, ucs1char ) ucs1str charstr ( uint16 ) ucs1char hexchar ( uint16 ) ucs1str hexstr ( uint8 ) ucs1str hexstr ( uint16 ) ucs1str hexstr ( uint32 ) ucs1str hexstr ( uint16, uint16 digits ) ucs1str hexstr ( uint32, uint16 digits ) ucs1str binstr ( uint8 ) ucs1str binstr ( uint16 ) ucs1str binstr ( uint32 ) ucs1str binstr ( uint16, uint16 digits ) ucs1str binstr ( uint32, uint16 digits ) ucs1str binstr ( uint16, ucs1str¢ o, ucs1str¢ l ) ucs1str binstr ( uint32, ucs1str¢ o, ucs1str¢ l ) ucs1str numstr ( int16 ) ucs1str numstr ( uint16 ) ucs1str numstr ( int32 ) ucs1str numstr ( uint32 ) ucs1str toupper ( ucs1str¢ ) ucs1str tolower ( ucs1str¢ ) ucs1str escape ( ucs1str¢, ucs1char leftquote ) ucs1str unescape ( ucs1str¢ ) ucs1str urlencode ( ucs1str¢ ) ucs1str urldecode ( ucs1str¢ ) ucs1str entab ( ucs1str¢, uint16 tabwidth ) ucs1str detab ( ucs1str¢, uint16 tabwidth ) ucs1str toupper ( ucs1char[to] ) ucs1str tolower ( ucs1char[to] ) ucs1str escape ( ucs1char[to], ucs1char leftquote ) ucs1str unescape ( ucs1char[to] ) ucs1str urlencode ( ucs1char[to] ) ucs1str urldecode ( ucs1char[to] ) ucs1str entab ( ucs1char[to], uint16 tabwidth ) ucs1str detab ( ucs1char[to], uint16 tabwidth ) ucs1str toucs1 ( ucs1str¢ ) ucs2str toucs2 ( ucs1str¢ ) utf8str toutf8 ( ucs1str¢ ) ucs1str toucs1 ( ucs1char[to] ) ucs2str toucs2 ( ucs1char[to] ) utf8str toutf8 ( ucs1char[to] ) ucs1str min ( ucs1str, ucs1str ) ucs1str min ( ucs1str, ucs1str¢ ) ucs1str min ( ucs1str¢, ucs1str ) ucs1str¢ min ( ucs1str¢, ucs1str¢ ) ucs1str¢ min ( ucs1str[]¢ ) ucs1str¢ min ( ucs1str[to] ) ucs1str max ( ucs1str, ucs1str ) ucs1str max ( ucs1str, ucs1str¢ ) ucs1str max ( ucs1str¢, ucs1str ) ucs1str¢ max ( ucs1str¢, ucs1str¢ ) ucs1str¢ max ( ucs1str[]¢ ) ucs1str¢ max ( ucs1str[to] ) void flip ( ucs1str[to] ) void rol ( ucs1str[to] ) void ror ( ucs1str[to] ) void sort ( ucs1str[to] ) void rsort ( ucs1str[to] ) void shuffle ( ucs1str[to] ) void revert ( ucs1str[to] ) type ucs2str = ucs2char[] ucs2str spacestr ( uint16 ) ucs2str spacestr ( uint16, ucs2char ) ucs2str charstr ( uint16 ) ucs2char hexchar ( uint16 ) ucs2str hexstr ( uint8 ) ucs2str hexstr ( uint16 ) ucs2str hexstr ( uint32 ) ucs2str hexstr ( uint16, uint16 digits ) ucs2str hexstr ( uint32, uint16 digits ) ucs2str binstr ( uint8 ) ucs2str binstr ( uint16 ) ucs2str binstr ( uint32 ) ucs2str binstr ( uint16, uint16 digits ) ucs2str binstr ( uint32, uint16 digits ) ucs2str binstr ( uint16, ucs2str¢ o, ucs2str¢ l ) ucs2str binstr ( uint32, ucs2str¢ o, ucs2str¢ l ) ucs2str numstr ( int16 ) ucs2str numstr ( uint16 ) ucs2str numstr ( int32 ) ucs2str numstr ( uint32 ) ucs2str toupper ( ucs2str¢ ) ucs2str tolower ( ucs2str¢ ) ucs2str escape ( ucs2str¢, ucs2char leftquote ) ucs2str unescape ( ucs2str¢ ) ucs2str urlencode ( ucs2str¢ ) ucs2str urldecode ( ucs2str¢ ) ucs2str entab ( ucs2str¢, uint16 tabwidth ) ucs2str detab ( ucs2str¢, uint16 tabwidth ) ucs2str toupper ( ucs2char[to] ) ucs2str tolower ( ucs2char[to] ) ucs2str escape ( ucs2char[to], ucs2char leftquote ) ucs2str unescape ( ucs2char[to] ) ucs2str urlencode ( ucs2char[to] ) ucs2str urldecode ( ucs2char[to] ) ucs2str entab ( ucs2char[to], uint16 tabwidth ) ucs2str detab ( ucs2char[to], uint16 tabwidth ) ucs1str toucs1 ( ucs2str¢ ) ucs2str toucs2 ( ucs2str¢ ) utf8str toutf8 ( ucs2str¢ ) ucs1str toucs1 ( ucs2char[to] ) ucs2str toucs2 ( ucs2char[to] ) utf8str toutf8 ( ucs2char[to] ) ucs2str min ( ucs2str, ucs2str ) ucs2str min ( ucs2str, ucs2str¢ ) ucs2str min ( ucs2str¢, ucs2str ) ucs2str¢ min ( ucs2str¢, ucs2str¢ ) ucs2str¢ min ( ucs2str[]¢ ) ucs2str¢ min ( ucs2str[to] ) ucs2str max ( ucs2str, ucs2str ) ucs2str max ( ucs2str, ucs2str¢ ) ucs2str max ( ucs2str¢, ucs2str ) ucs2str¢ max ( ucs2str¢, ucs2str¢ ) ucs2str¢ max ( ucs2str[]¢ ) ucs2str¢ max ( ucs2str[to] ) void flip ( ucs2str[to] ) void rol ( ucs2str[to] ) void ror ( ucs2str[to] ) void sort ( ucs2str[to] ) void rsort ( ucs2str[to] ) void shuffle ( ucs2str[to] ) void revert ( ucs2str[to] ) type ucs4str = ucs4char[] type char = enum uint8 type bool = enum uint8 type float = float32 type str = ucs1char[] type Thread = {} type Mutex = {} type Sema = {} type Irpt = {} type Object = {} type Stream = {} type FileInfo = {} const bool yes = 1 const bool no = 0 const bool true = 1 const bool false = 0 type OSErr = enum uint8 const OSErr ok = 0 const OSErr parameter_error = 1 const OSErr function_not_supported = 1 const OSErr io_error = 2 const OSErr device_not_responding = 3 const OSErr file_error = 4 const OSErr filesystem_invalid = 5 const OSErr device_not_found = 6 const OSErr directory_not_found = 7 const OSErr file_not_found = 8 const OSErr not_a_directory = 9 const OSErr is_a_directory = 10 const OSErr file_already_open_for_writing = 11 const OSErr file_already_open = 12 const OSErr file_exists = 13 const OSErr file_not_writable = 14 const OSErr end_of_file = 15 const OSErr disk_full = 16 const OSErr directory_corrupted = 17 const OSErr filesystem_corrupted = 18 var OSErr errno OSErr error () void set_error ( OSErr ) void clear_error () bool is_letter ( ucs1char ) bool is_bin_digit ( ucs1char ) bool is_dec_digit ( ucs1char ) bool is_hex_digit ( ucs1char ) uint8 digit_value ( ucs1char ) uint8 msbit ( uint16 ) uint8 msbit ( uint32 ) uint8 count1bits ( uint16 ) uint8 count1bits ( uint32 ) bool is1bit ( uint16 ) int16 sign ( int16 ) int16 sign ( int32 ) uint16 abs ( int16 ) uint32 abs ( int32 ) uint16 swap_bytes ( uint16 ) uint32 revert_bytes ( uint32 ) uint32 swap_words ( uint32 ) uint16 random () uint8 random () bool random () uint16 random ( uint16 ) uint32 random ( uint32 ) uint32 mul_wwl ( uint16, uint16 ) void revert ( int8[to] ) = opcode revert void rol ( int8[to] ) = opcode rol void ror ( int8[to] ) = opcode ror void sort ( int8[to] ) void rsort ( int8[to] ) void shuffle ( int8[to] ) = opcode shuffle int8[] join ( int8[][]¢, int8 ) = opcode join int8[] join ( int8[][]¢, int8[]¢ ) = opcode join int8[][] split ( int8[]¢, int8 ) = opcode split int8[][] split ( int8[]¢, int8[]¢ ) = opcode split int8 min ( int8, int8 ) int8 min ( int8, int8, int8 ) int8 min ( int8[to] ) int8 max ( int8, int8 ) int8 max ( int8, int8, int8 ) int8 max ( int8[to] ) uint16 find ( int8[to], int8 ) = opcode find uint16 find ( int8[to], int8[]¢ ) = opcode find uint16 rfind ( int8[to], int8 ) = opcode rfind uint16 rfind ( int8[to], int8[]¢ ) = opcode rfind void shrinktofit ( int8[]& ) int8[to] substr ( int8[]¢, uint16 a, uint16 e ) int8[to] midstr ( int8[]¢, uint16 i, uint16 n ) int8[to] leftstr ( int8[]¢, uint16 n ) int8[to] rightstr ( int8[]¢, uint16 n ) int8 numval ( ucs1str¢ ) void revert ( uint8[to] ) = opcode revert void rol ( uint8[to] ) = opcode rol void ror ( uint8[to] ) = opcode ror void sort ( uint8[to] ) void rsort ( uint8[to] ) void shuffle ( uint8[to] ) = opcode shuffle uint8[] join ( uint8[][]¢, uint8 ) = opcode join uint8[] join ( uint8[][]¢, uint8[]¢ ) = opcode join uint8[][] split ( uint8[]¢, uint8 ) = opcode split uint8[][] split ( uint8[]¢, uint8[]¢ ) = opcode split uint8 min ( uint8, uint8 ) uint8 min ( uint8, uint8, uint8 ) uint8 min ( uint8[to] ) uint8 max ( uint8, uint8 ) uint8 max ( uint8, uint8, uint8 ) uint8 max ( uint8[to] ) uint16 find ( uint8[to], uint8 ) = opcode find uint16 find ( uint8[to], uint8[]¢ ) = opcode find uint16 rfind ( uint8[to], uint8 ) = opcode rfind uint16 rfind ( uint8[to], uint8[]¢ ) = opcode rfind void shrinktofit ( uint8[]& ) uint8[to] substr ( uint8[]¢, uint16 a, uint16 e ) uint8[to] midstr ( uint8[]¢, uint16 i, uint16 n ) uint8[to] leftstr ( uint8[]¢, uint16 n ) uint8[to] rightstr ( uint8[]¢, uint16 n ) uint8 numval ( ucs1str¢ ) void revert ( int16[to] ) = opcode revert void rol ( int16[to] ) = opcode rol void ror ( int16[to] ) = opcode ror void sort ( int16[to] ) void rsort ( int16[to] ) void shuffle ( int16[to] ) = opcode shuffle int16[] join ( int16[][]¢, int16 ) = opcode join int16[] join ( int16[][]¢, int16[]¢ ) = opcode join int16[][] split ( int16[]¢, int16 ) = opcode split int16[][] split ( int16[]¢, int16[]¢ ) = opcode split int16 min ( int16, int16 ) int16 min ( int16, int16, int16 ) int16 min ( int16[to] ) int16 max ( int16, int16 ) int16 max ( int16, int16, int16 ) int16 max ( int16[to] ) uint16 find ( int16[to], int16 ) = opcode find uint16 find ( int16[to], int16[]¢ ) = opcode find uint16 rfind ( int16[to], int16 ) = opcode rfind uint16 rfind ( int16[to], int16[]¢ ) = opcode rfind void shrinktofit ( int16[]& ) int16[to] substr ( int16[]¢, uint16 a, uint16 e ) int16[to] midstr ( int16[]¢, uint16 i, uint16 n ) int16[to] leftstr ( int16[]¢, uint16 n ) int16[to] rightstr ( int16[]¢, uint16 n ) int16 numval ( ucs1str¢ ) void revert ( uint16[to] ) = opcode revert void rol ( uint16[to] ) = opcode rol void ror ( uint16[to] ) = opcode ror void sort ( uint16[to] ) void rsort ( uint16[to] ) void shuffle ( uint16[to] ) = opcode shuffle uint16[] join ( uint16[][]¢, uint16 ) = opcode join uint16[] join ( uint16[][]¢, uint16[]¢ ) = opcode join uint16[][] split ( uint16[]¢, uint16 ) = opcode split uint16[][] split ( uint16[]¢, uint16[]¢ ) = opcode split uint16 min ( uint16, uint16 ) uint16 min ( uint16, uint16, uint16 ) uint16 min ( uint16[to] ) uint16 max ( uint16, uint16 ) uint16 max ( uint16, uint16, uint16 ) uint16 max ( uint16[to] ) uint16 find ( uint16[to], uint16 ) = opcode find uint16 find ( uint16[to], uint16[]¢ ) = opcode find uint16 rfind ( uint16[to], uint16 ) = opcode rfind uint16 rfind ( uint16[to], uint16[]¢ ) = opcode rfind void shrinktofit ( uint16[]& ) uint16[to] substr ( uint16[]¢, uint16 a, uint16 e ) uint16[to] midstr ( uint16[]¢, uint16 i, uint16 n ) uint16[to] leftstr ( uint16[]¢, uint16 n ) uint16[to] rightstr ( uint16[]¢, uint16 n ) uint16 numval ( ucs1str¢ ) void revert ( int32[to] ) = opcode revert void rol ( int32[to] ) = opcode rol void ror ( int32[to] ) = opcode ror void sort ( int32[to] ) void rsort ( int32[to] ) void shuffle ( int32[to] ) = opcode shuffle int32[] join ( int32[][]¢, int32 ) = opcode join int32[] join ( int32[][]¢, int32[]¢ ) = opcode join int32[][] split ( int32[]¢, int32 ) = opcode split int32[][] split ( int32[]¢, int32[]¢ ) = opcode split int32 min ( int32, int32 ) int32 min ( int32, int32, int32 ) int32 min ( int32[to] ) int32 max ( int32, int32 ) int32 max ( int32, int32, int32 ) int32 max ( int32[to] ) uint16 find ( int32[to], int32 ) = opcode find uint16 find ( int32[to], int32[]¢ ) = opcode find uint16 rfind ( int32[to], int32 ) = opcode rfind uint16 rfind ( int32[to], int32[]¢ ) = opcode rfind void shrinktofit ( int32[]& ) int32[to] substr ( int32[]¢, uint16 a, uint16 e ) int32[to] midstr ( int32[]¢, uint16 i, uint16 n ) int32[to] leftstr ( int32[]¢, uint16 n ) int32[to] rightstr ( int32[]¢, uint16 n ) int32 numval ( ucs1str¢ ) void revert ( uint32[to] ) = opcode revert void rol ( uint32[to] ) = opcode rol void ror ( uint32[to] ) = opcode ror void sort ( uint32[to] ) void rsort ( uint32[to] ) void shuffle ( uint32[to] ) = opcode shuffle uint32[] join ( uint32[][]¢, uint32 ) = opcode join uint32[] join ( uint32[][]¢, uint32[]¢ ) = opcode join uint32[][] split ( uint32[]¢, uint32 ) = opcode split uint32[][] split ( uint32[]¢, uint32[]¢ ) = opcode split uint32 min ( uint32, uint32 ) uint32 min ( uint32, uint32, uint32 ) uint32 min ( uint32[to] ) uint32 max ( uint32, uint32 ) uint32 max ( uint32, uint32, uint32 ) uint32 max ( uint32[to] ) uint16 find ( uint32[to], uint32 ) = opcode find uint16 find ( uint32[to], uint32[]¢ ) = opcode find uint16 rfind ( uint32[to], uint32 ) = opcode rfind uint16 rfind ( uint32[to], uint32[]¢ ) = opcode rfind void shrinktofit ( uint32[]& ) uint32[to] substr ( uint32[]¢, uint16 a, uint16 e ) uint32[to] midstr ( uint32[]¢, uint16 i, uint16 n ) uint32[to] leftstr ( uint32[]¢, uint16 n ) uint32[to] rightstr ( uint32[]¢, uint16 n ) uint32 numval ( ucs1str¢ ) void revert ( ucs1char[to] ) = opcode revert void rol ( ucs1char[to] ) = opcode rol void ror ( ucs1char[to] ) = opcode ror void sort ( ucs1char[to] ) void rsort ( ucs1char[to] ) void shuffle ( ucs1char[to] ) = opcode shuffle ucs1str join ( ucs1str[]¢, ucs1char ) = opcode join ucs1str join ( ucs1str[]¢, ucs1str¢ ) = opcode join ucs1str[] split ( ucs1str¢, ucs1char ) = opcode split ucs1str[] split ( ucs1str¢, ucs1str¢ ) = opcode split ucs1char min ( ucs1char, ucs1char ) ucs1char min ( ucs1char, ucs1char, ucs1char ) ucs1char min ( ucs1char[to] ) ucs1char max ( ucs1char, ucs1char ) ucs1char max ( ucs1char, ucs1char, ucs1char ) ucs1char max ( ucs1char[to] ) uint16 find ( ucs1char[to], ucs1char ) = opcode find uint16 find ( ucs1char[to], ucs1str¢ ) = opcode find uint16 rfind ( ucs1char[to], ucs1char ) = opcode rfind uint16 rfind ( ucs1char[to], ucs1str¢ ) = opcode rfind void shrinktofit ( ucs1str& ) ucs1char[to] substr ( ucs1str¢, uint16 a, uint16 e ) ucs1char[to] midstr ( ucs1str¢, uint16 i, uint16 n ) ucs1char[to] leftstr ( ucs1str¢, uint16 n ) ucs1char[to] rightstr ( ucs1str¢, uint16 n ) ucs1char numval ( ucs1str¢ ) float32 round ( float32 ) float32 floor ( float32 ) float32 ceil ( float32 ) float32 integ ( float32 ) float32 fract ( float32 ) int16 sign ( float32 ) float32 abs ( float32 ) float32 min ( float32, float32 ) float32 max ( float32, float32 ) float32 min ( float32, float32, float32 ) float32 max ( float32, float32, float32 ) float32 random () float32 random ( float32 ) float32 sin ( float32 ) float32 cos ( float32 ) float32 tan ( float32 ) float32 asin ( float32 ) float32 acos ( float32 ) float32 atan ( float32 ) float32 sinh ( float32 ) float32 cosh ( float32 ) float32 tanh ( float32 ) float32 exp10 ( float32 ) float32 log10 ( float32 ) float32 exp2 ( float32 ) float32 log2 ( float32 ) float32 expe ( float32 ) float32 loge ( float32 ) float32 exp ( float32, float32 ) float32 log ( float32, float32 ) float32 pow ( float32, int16 ) float32 sqrt ( float32 ) ucs1str numstr ( float32 ) float32 numval ( ucs1str¢ ) float32 min ( float32[]¢ ) float32 min ( float32[to] ) float32 max ( float32[]¢ ) float32 max ( float32[to] ) ucs1str spacestr ( uint16 ) ucs1str spacestr ( uint16, ucs1char ) ucs1str charstr ( uint16 ) ucs1char hexchar ( uint16 ) ucs1str hexstr ( uint8 ) ucs1str hexstr ( uint16 ) ucs1str hexstr ( uint32 ) ucs1str hexstr ( uint16, uint16 digits ) ucs1str hexstr ( uint32, uint16 digits ) ucs1str binstr ( uint8 ) ucs1str binstr ( uint16 ) ucs1str binstr ( uint32 ) ucs1str binstr ( uint16, uint16 digits ) ucs1str binstr ( uint32, uint16 digits ) ucs1str binstr ( uint16, ucs1str¢ o, ucs1str¢ l ) ucs1str binstr ( uint32, ucs1str¢ o, ucs1str¢ l ) ucs1str numstr ( int16 ) ucs1str numstr ( uint16 ) ucs1str numstr ( int32 ) ucs1str numstr ( uint32 ) ucs1str toupper ( ucs1str¢ ) ucs1str tolower ( ucs1str¢ ) ucs1str escape ( ucs1str¢, ucs1char leftquote ) ucs1str unescape ( ucs1str¢ ) ucs1str urlencode ( ucs1str¢ ) ucs1str urldecode ( ucs1str¢ ) ucs1str entab ( ucs1str¢, uint16 tabwidth ) ucs1str detab ( ucs1str¢, uint16 tabwidth ) ucs1str toupper ( ucs1char[to] ) ucs1str tolower ( ucs1char[to] ) ucs1str escape ( ucs1char[to], ucs1char leftquote ) ucs1str unescape ( ucs1char[to] ) ucs1str urlencode ( ucs1char[to] ) ucs1str urldecode ( ucs1char[to] ) ucs1str entab ( ucs1char[to], uint16 tabwidth ) ucs1str detab ( ucs1char[to], uint16 tabwidth ) ucs1str toucs1 ( ucs1str¢ ) ucs2str toucs2 ( ucs1str¢ ) utf8str toutf8 ( ucs1str¢ ) ucs1str toucs1 ( ucs1char[to] ) ucs2str toucs2 ( ucs1char[to] ) utf8str toutf8 ( ucs1char[to] ) ucs1str min ( ucs1str, ucs1str ) ucs1str min ( ucs1str, ucs1str¢ ) ucs1str min ( ucs1str¢, ucs1str ) ucs1str¢ min ( ucs1str¢, ucs1str¢ ) ucs1str¢ min ( ucs1str[]¢ ) ucs1str¢ min ( ucs1str[to] ) ucs1str max ( ucs1str, ucs1str ) ucs1str max ( ucs1str, ucs1str¢ ) ucs1str max ( ucs1str¢, ucs1str ) ucs1str¢ max ( ucs1str¢, ucs1str¢ ) ucs1str¢ max ( ucs1str[]¢ ) ucs1str¢ max ( ucs1str[to] ) void flip ( ucs1str[to] ) void rol ( ucs1str[to] ) void ror ( ucs1str[to] ) void sort ( ucs1str[to] ) void rsort ( ucs1str[to] ) void shuffle ( ucs1str[to] ) void revert ( ucs1str[to] ) var uint8 sysflags var uint32 systemtime var ucs1char* romdate var ucs1char* romtime void di () void ei () uint8 in ( uint16 ) void out ( uint16, uint8 ) void wait () void abort () = opcode abort void panic ( uint8 errorcode ) void assert1 ( bool ) void assert0 ( bool ) void memcpy ( void* z, void* q, uint16 cnt ) void memset ( void* z, uint16 c, uint16 cnt ) void memclr ( void* z, uint16 cnt ) ucs1char getc () ucs1char waitc () bool getc_avail () void print ( ucs1char ) void print ( int16 ) void print ( uint16 ) void print ( ucs1char* ) void print ( ucs1str¢ ) void print ( ucs1str ) void locate ( uint16 xy ) void setattr ( uint8 ) void draw ( uint16 x1, uint16 y1, uint16 x2, uint16 y2 ) void draw ( uint16 xy1, uint16 xy2 ) void draw_digit ( uint16 xy, uint16 digit ) void plot ( uint16 x, uint16 y ) void clear_background () void clear_board ( uint16 xy ) void set_attr_c ( uint16 xy, uint16 wh, uint16 attr ) void set_attr_p ( uint16 xy, uint16 wh, uint16 attr ) void board_reset_attr ( uint16 xy ) uint8* get_cellset ( uint16 idx ) uint8* get_rowset ( uint16 row ) uint8* get_colset ( uint16 col ) uint8* get_blkset ( uint16 row, uint16 col ) extern const uint8* cboards extern const uint8* level1_cdata extern const uint8* level2_cdata extern const uint8* level3_cdata extern const uint8* level4_cdata extern const uint16 num_boards var uint16 mouse_xy var uint8 mouse_x var uint8 mouse_y var uint8 mouse_buttons extern const uint16 GSDATA_size extern const uint16 SLOW_CDATA_size extern const uint16 SLOW_DATA_size extern const uint16 SLOW_CODE_size extern const uint16 VCODE_size extern const uint16 VMCORE_size extern const uint16 CODE_size extern const uint16 CONST_size extern const uint16 DATA_size extern const uint16 STACKS_size extern const uint16 HEAP_size extern const uint16 GSINIT_size extern const uint16 ZX7_size extern const uint16 tape_size extern const uint16 uncompressed_data_size var uint16 heap var uint16 heap_start var uint16 heap_end var uint16 handles_start var uint16 free_handle extern const uint16* rndseed16 void SHOW_MOUSE () void show_mouse () void HIDE_MOUSE () void hide_mouse () const ucs1char c_eot = 0 const ucs1char c_home = 1 const ucs1char c_cls = 2 const ucs1char c_locate = 3 const ucs1char c_setcol = 4 const ucs1char c_setrow = 5 const ucs1char c_setattr = 6 const ucs1char c_setpen = 7 const ucs1char c_setpaper = 8 const ucs1char c_clrcols = 9 const ucs1char c_tab = 10 const ucs1char c_newline = 13 const ucs1char c_inverse = 14 const ucs1char c_narrow = 16 const ucs1char c_bold = 18 const ucs1char c_flash = 22 const ucs1char c_bright = 24 const ucs1char c_clreol = 26 var ucs1str[] boards const uint16 compressed_board_size = 81 type MenuItem = { uint8 x, uint8 w, ucs1str text, void(uint16) fu } var uint8 x var uint8 w var ucs1str text var void(uint16) fu var MenuItem[] menu_items const uint8 attr_mbar = 7 const uint8 attr_mbar_hover = 71 const uint8 attr_mbar_click = 95 type Button = { uint16 xy, uint16 wh, ucs1str text, void(uint16) fu, bool on, bool disabled, uint8 cookie, draw ( Button¢ this ), disable ( Button¢ this ), enable ( Button¢ this ), enable ( Button¢ this, bool f ), select ( Button¢ this, bool f ) } var uint16 xy var uint16 wh var ucs1str text var void(uint16) fu var bool on var bool disabled var uint8 cookie void draw ( Button¢ this ) var uint16 xy var uint16 wh var uint16 w var uint16 h void disable ( Button¢ this ) void enable ( Button¢ this ) void enable ( Button¢ this, bool f ) void select ( Button¢ this, bool f ) var Button[] buttons var Button¢ button_pencil var Button¢ button_pen const uint8 attr_button = 120 const uint8 attr_button_disabled = 79 const uint8 attr_button_hover = 112 const uint8 attr_button_click = 96 const uint8 attr_button_on = 112 extern const ucs1char charcode_left_arrow extern const ucs1char charcode_right_arrow type Cell = uint16 var uint16[] board const uint16 m_number = 15 const uint16 m_presetcell = 16 const uint16 m_hilitedcell = 32 const uint16 m_wrongcell = 64 const uint16 m_pencil = 65408 const uint8 attr_cell_error = 80 const uint8 attr_cell_hilite = 112 const uint16 board_xy = 780 const uint16 board_wh = 4626 const uint16 numpad_xy = 770 const uint16 numpad_wh = 4616 var uint8 level var bool game_on var uint8 current_number void select_pencil ( uint16 ) void select_pen ( uint16 ) void select_number ( uint16 z ) var Button¢ b var bool f local scope ANON var Button¢ b MenuItem new ( uint16 x, uint16 w, ucs1str text, void(uint16) fu ) var MenuItem this Button new ( uint16 xy, uint16 wh, ucs1str text, void(uint16) fu, uint16 cookie ) var Button this bool isinbox ( uint16 pos, uint16 xy, uint16 wh ) void track_mouse_while_button_down ( uint16 xy, uint16 wh ) void track_mouse_while_button_up ( uint16 xy, uint16 wh ) void set_cell_attr ( uint16 idx, uint16 attr ) var uint16 xy void draw_cross () void check_board () local scope ANON var uint16 i var uint16 sli local scope ANON var uint8* set var uint16 mask var uint16 emask var uint8* p local scope ANON var uint16 c var uint16 m local scope ANON var uint16 c var uint16 m void set_cell ( uint16 idx, uint16 value ) var uint16 x var uint16 y void clear_pencil_in_set ( uint16 mask, uint8* set ) var uint16 i local scope ANON var uint16 j void track_mouse () local scope ANON var uint8 i local scope ANON var MenuItem¢ m var uint16 xy var uint16 wh local scope ANON var uint8 i local scope ANON var Button¢ b var uint16 xy var uint16 wh local scope ANON local scope ANON var uint16 x var uint16 y var uint16 idx var uint16 mask void clear_mbar () void draw_board () var uint16 xy var uint8 i local scope ANON local scope ANON var uint8 c void select_joystick () void undo ( uint16 ) void redo ( uint16 ) void set_level ( uint16 n ) var Button¢ b void start_game ( uint16 ) extern const int8* sintab void pause ( uint16 ) var uint8 x void abort ( uint16 ) void save ( uint16 ) void load ( uint16 ) void mogrify_board () var ucs1str xch var uint16 i local scope ANON var uint16& c const uint16 NOSYM_IMAGE = 0 const uint16 NOSYM_RANDOM = 1 const uint16 VSYM_HFIXED = 2 const uint16 VSYM_HRANDOM = 3 const uint16 HSYM_VFIXED = 4 const uint16 HSYM_VRANDOM = 5 const uint16 XSYM = 6 const uint16 XSYM_BLKSYM = 7 uint8[] get_related ( uint16 idx ) var uint8[] list var uint8 col var uint8 row var uint8* p var uint8 i var int8 row0 var int8 col0 var int8 r local scope ANON var int8 c void clear_board () var uint8 i void _set ( uint16 idx, uint16 symbol ) var uint8[] related var uint8 i local scope ANON var uint8 j var uint16& c void newBoard ( uint8* qdata ) var uint8 qbyte var uint8 qmask var uint8 i var uint8 bi local scope ANON var uint16 z var uint8 n var uint8 i var uint16 q void swap_cols ( uint16 a, uint16 b ) void swap_rows ( uint16 a, uint16 b ) var uint16[] z void mirror_h () var uint8 r void mirror_v () var uint8 a var uint8 b void mirror_h_blk ( uint16 i ) void mirror_v_blk ( uint16 i ) void transpose_board () var uint8 i local scope ANON var uint8 j void shuffle_h () var uint16 a void shuffle_v () var uint16 a void main () var uint16 xy var uint8 i local scope ANON var uint16 brdidx var uint8* cboard var uint8* pp var uint8 bits var uint8 byte var uint8 mask var uint8[9] syms var uint8 i local scope ANON var ucs1char c