home *** CD-ROM | disk | FTP | other *** search
-
- QUICK REFERENCE FOR HB'S ALL-PURPOSE LIBRARY:
-
- >>>>>>>>>>>>> in SETUP-H.BAS <<<<<<<<<<<<<
- DEFINT A-Z
- %False %True
- %FLAGS = 0: %AX = 1: %BX = 2: %CX = 3: %DX = 4
- %SI = 5: %DI = 6: %BP = 7: %DS = 8: %ES = 9
- %Background = 16
- %Center = 0
- %Star10X = 1: %StarNX1000 = 2: %IBMX24 = 3: %LQ2500 = 4 'Printer Codes
- %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
- DIM FieldName$(20),FieldMask$(20),FL(20),FC(20)
- DIM ScreenStack$ ( 1 : %ScrnStackSize )
- ScrnStackSize = %ScrnStackSize
-
- >>>>>>>>>>>>> in INIT-U.BAS <<<<<<<<<<<<<
- SUB Initialize (PrinterType) PUBLIC
- InitPrt$ GraphicsChrSetOn$ GraphicsChrSetOff$ BoldPrtOn$ BoldPrtOff$
- ItalicPrtOn$ ItalicPrtOff$ RegPrt$ FastPrt$ WidePrt$ BigPrtOn$ BigPrtOff$
- LQPrt$ DraftPrt$ MicroPrtOn$ MicroPrtOff$ ElitePrt$ PicaPrt$ NeedDCon VideoSeg& = &HB800: CursorTop = 6: CursorBottom = 7
- >>>>>>>>>>>>> in FENTRY-U.BAS <<<<<<<<<<<<<
- %ReadRodent = 3
- %LeftButton = 1
- %RightButton = 2
- %MaxDecPlaces = 4
- SUB ENTERSTRING (Wkg$,FLength,Opt$) PUBLIC
- SUB ENTERNUMBER (Wkg#, Masq$, Opt$) PUBLIC
- SUB ENTERDATE (A$, Opt$) PUBLIC
- SUB RotaDate (D$,Opt$) PUBLIC
- SUB ENTERTIME (A$, Opt$) PUBLIC
- SUB ENTERSSN (A$, Opt$) PUBLIC
- SUB ENTERPHONE (A$, Opt$) PUBLIC
- SUB PressAKey PUBLIC
- FUNCTION GetYesOrNo PUBLIC
- SUB ENTERYESNO (Yes) PUBLIC
-
- >>>>>>>>>>>>> in BOXES-U.BAS <<<<<<<<<<<<<
- SUB BOXMESSAGE(CornerLin, CornerCol, Margin) PUBLIC
- SUB BOXMESSAGE2 (CornerLin, CornerCol, Margin, I$(1), Items%, Maxx) PUBLIC
- SUB POPWINDOW PUBLIC
- SUB PWSetUp (Fld$,Z) PUBLIC
- SUB QBOX (L, C, Lines%, Message$, AnsFldLength) PUBLIC
-
- >>>>>>>>>>>>> in MENUS-U.BAS <<<<<<<<<<<<<
- SUB TOPMENU (Lines% ,Choice, TLine$) PUBLIC
- SUB POPMENU (TopKey$,MenuRight,MenuDown,Choice,MLine$,MCode$) PUBLIC
- SUB SUPERMENU (MenuData$$ (), MenuRight, MenuDown, Choice, Title$, Ky%) PUBLIC
-
-
- ' ====
- ' Notes: *** HOW TO USE MENU ***
- ' ===================
- '
- ' MENU SETUP: THE MenuData$$ ARRAY:
- ' Each choice on your menu is represented by one string element in
- ' this array. The decription of each choice -- for example, "LOAD",
- ' will start with the third character of this string. If you are
- ' specifying the hot-key for each choice put it into the first
- ' character -- set MenuData$$ (1) as something like "L LOAD". To let
- ' the software number or letter the items in order for you, set
- ' MenuData$$ as just " LOAD". (If there are <11 items, numbers
- ' are used rather than letters.) After the last menu item, you
- ' must set the next array element as "END".
- ' PASSING HELP LINES TO MENU: Set MenuHelpLine$() to contain lines (up
- ' to 80 chr long) to appear at screen bottom whenever the
- ' corresponding menu choice is highlighted.
- ' POSITION OF MENU ONSCREEN ETC.: MenuRight moves it right or left -- 0
- ' is top center. MenuDown moves it -- you guessed it! Errors will be
- ' trapped. Vertical centering is gotten by setting MenuDown = 25.
- ' Usually set Choice = 1. Title$ is title of menu.
-
- ' *** AFTER MENU ROUTINE: Choice will hold the choice #. Title$ reset to "".
- ' MKeyPressed$ if the actual key used (if mouse was used it
- ' simulates the CR key, i.e. CHR$(13)) -- or if [ESC] or a legal
- ' function key was pressed it contains "ESC", "PgDn", "PgUp", "F1",
- ' or "F2".
-
- >>>>>>>>>>>>> in FIGDAT-U.BAS <<<<<<<<<<<<<
-
- FUNCTION FigDate&(A$) PUBLIC
- FUNCTION WriteDate$ (W&) PUBLIC
- FUNCTION WkDay$(W&) PUBLIC
- FUNCTION YearsSince (D0$) PUBLIC
- FUNCTION FlipDate$ (WrittenDate$) PUBLIC
- FUNCTION UnflipDate$ (FlippedDate$) PUBLIC
-
- >>>>>>>>>>>>> in MISC-U.BAS <<<<<<<<<<<<<
-
- SUB SCREENPUSH PUBLIC
- SUB SCREENPOP PUBLIC
- SUB RestoreDOSScreen PUBLIC
- SUB PRINTLINE (L$) PUBLIC
- SUB FileFunctions (MenuRight, MenuDown, Choice$) PUBLIC
- FUNCTION IsBlank (W$) PUBLIC
- FUNCTION GetAttr PUBLIC
- FUNCTION IsRodent PUBLIC ' finds if you have a rodent and also resets it
- SUB Mouse(MV1, MV2, MV3, MV4) PUBLIC
- FUNCTION GetCurrentDrive$ PUBLIC
- FUNCTION GetCurrentDir$ PUBLIC
- FUNCTION GetFreeSpace! (Drv$) PUBLIC
- FUNCTION ReadParamFor (A$) PUBLIC ' this reads parameters from the command tail
- SUB ClearLine PUBLIC
- SUB DirFirst (F$, FileSize&, DateCode&, TimeCode&) PUBLIC
- SUB DirNext (F$, FileSize&, DateCode&, TimeCode&) PUBLIC
- FUNCTION DecodeDate$ (DateCode&) PUBLIC
- FUNCTION DecodeTime$ (TimeCode&) PUBLIC
-
-