home *** CD-ROM | disk | FTP | other *** search
-
- DEFINT A-Z
-
- ' compiler instructions ...
- %False = 0
- %True = NOT %False ' basic truths of the universe ...
- %Yes = %True
- %No = %False
-
- %FLAGS = 0: %AX = 1: %BX = 2: %CX = 3: %DX = 4
- %SI = 5: %DI = 6: %BP = 7: %DS = 8: %ES = 9
-
- %Background = 16
- %Center = 0
-
- 'Printer Codes
- %Star10X = 1: %StarNX1000 = 2: %IBMX24 = 3: %LQ2500 = 4
-
-
- 'Color #s
- %Blk = 0: %Blu = 1: %Grn = 2: %Cyn = 3: %Red = 4: %Vlt = 5
- %Brn = 6: %Gry = 7: %DGry = 8: %LBlu = 9: %LGrn = 10: %LCyn = 11
- %LRed = 12: %Pnk = 13: %Ylo = 14: %Wht = 15: %Flash = 256
-
- %LeftButton = 1
- %RightButton = 2
- %UDVal = 3 ' controls mouse sensitivity in POPMENU
- %MouseIcon = 15 ' ... a little sun or bug character
- %MaxMenuWidth = 40
-
- DIM DYNAMIC FieldName$(20),FieldMask$(20),FL(20),FC(20)
- DIM DYNAMIC ScreenStack$ ( 1 : %ScrnStackSize )
-
- ScrnStackSize = %ScrnStackSize
-
- DIM DYNAMIC MenuData$ (24) ' max menu length = 23; need one more for the "END"
- DIM DYNAMIC MenuHelpLine$ (23)
- DIM DYNAMIC MCode$ (23)
-
-
- ' MENU RETURN CODES (KEY PRESSED.)
- %CR = 0: %Esc = &H20: %F1 = &H100: %F2 = &H200
- %PgUp = &H400: %PgDn = &H600
- %RArrow = &H800: %LArrow = &HA00