home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_BAS / PBTCLASS.ZIP / PBTCLASS.DOC < prev    next >
Text File  |  1994-02-08  |  86KB  |  5,489 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                            PBTools:Classic v1.32
  12.                 (c) Copyright 1990-1993 Dave Navarro, Jr.
  13.  
  14.                  Programmer's Library for PowerBASIC 3.x
  15.  
  16.  
  17.  
  18.  
  19.                          Shareware Documentation
  20.  
  21.  
  22.          About PBTools:Classic
  23.          ──────────────────
  24.              PBTools:Classic is a collection  of PowerBASIC routines to
  25.              help  programmers  create  professional  looking  programs
  26.              without having to spend the  time to develop such routines
  27.              on their  own.  The shareware  version contains  the  full
  28.              documentation and   is  fully  functional.   However,  the
  29.              source code  is  supplied only  to  registered  owners  of
  30.              PBTools:Classic.
  31.  
  32.          Support:
  33.          ────────
  34.              Support for PBTools:Classic is provided by The  Consultant
  35.              BBS  which can  reached by modem at (718) 837-3236,  or we
  36.              can now be reached  via  Internet  Email  at  the  address
  37.              pbtools@consultant.com
  38.  
  39.          Warranty:
  40.          ─────────
  41.              PBT:Classic is supplied AS IS, and there is no warranty of
  42.              any type   expressed   or   implied,   including,  without
  43.              limitation, the warranties  of  merchantability and of the
  44.              fitness for  any  purpose.   Neither  the author  nor  the
  45.              publisher assume  any  liability  for  damages,  direct or
  46.              consequential,   which   may   result  from  the   use  of
  47.              PBTools:Classic.
  48.  
  49.          Author's Note:
  50.          ──────────────
  51.              These routines were fully  tested  on  several  80286  and
  52.              80386 clone systems with monochrome, EGA,  and VGA setups,
  53.              and operated  without  any problems. I have left out error
  54.              handling routines in most  of  the  library  functions and
  55.              subs to make the routines run as fast as possible.
  56.  
  57.              I have included the source code to the demo  supplied with
  58.              PBT:Classic.  I have  done my best to add comments to help
  59.              with the usage for all commands.   If you are still having
  60.              problems, please  contact  me through by  US  Mail  or The
  61.              Consultant BBS.
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                                   Page i
  72.  
  73.  
  74.  
  75.          Acknowledgments:
  76.          ────────────────
  77.  
  78.              I would like to thank Bob Zale for what I feel is the best
  79.              BASIC compiler  available,  and  in  many  cases  the best
  80.              compiler overall for any language.
  81.  
  82.              The PBTools libraries have  been  tested  by the following
  83.              people:
  84.  
  85.                   James Davis                     James Jarvis
  86.                   Ronnie Pierce                   Alan Earnshaw
  87.                   Scott Tucker                    Paul Propst
  88.  
  89.              Documentation was re-written and formatted by James Davis.
  90.  
  91.              Source code was reformatted by James Davis.
  92.  
  93.          Dedications:
  94.          ────────────
  95.              This library is dedicated to Jan and Jerry  for putting up
  96.          with me while  I kept them up nights pounding on the keyboard,
  97.          and for insisting  I  get out  once  and  awhile  to  keep  my
  98.          perspective on life.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                     Page ii
  128.  
  129.  
  130.          ──────────────────────────────────────────────────────────────
  131.                        T A B L E   O F   C O N T E N T S
  132.          ──────────────────────────────────────────────────────────────
  133.          About PBTools:Classic ....................................   i
  134.          Support ..................................................   i
  135.          Warranty .................................................   i
  136.          Author's Note ............................................   i
  137.          Acknowledgments ..........................................  ii
  138.          Command Summary ..........................................   v
  139.           AddShadow() .............................................   1
  140.           Attr% ...................................................   2
  141.           Back%() .................................................   3
  142.           Box() ...................................................   4
  143.           CapsOff .................................................   5
  144.           CapsOn ..................................................   6
  145.           CapStat% ................................................   7
  146.           ChangeWin() .............................................   8
  147.           CheckKey% ...............................................   9
  148.           ClearWin ................................................  10
  149.           CloseWin ................................................  11
  150.           ClrKbd ..................................................  12
  151.           CurBot% .................................................  13
  152.           CurDisplay% .............................................  14
  153.           CurTop% .................................................  15
  154.           DelChar$() ..............................................  16
  155.           Fill() ..................................................  17
  156.           Fore%() .................................................  18
  157.           GetFrst$() ..............................................  19
  158.           GetKey$ .................................................  20
  159.           GetScrn$() ..............................................  21
  160.           InitPBScreen ............................................  22
  161.           InsChar$() ..............................................  23
  162.           InsertOff ...............................................  24
  163.           InsertOn ................................................  25
  164.           InsStat% ................................................  26
  165.           IsAlpha%() ..............................................  27
  166.           IsAlphaNum%() ...........................................  28
  167.           IsAlt% ..................................................  29
  168.           IsASCII%() ..............................................  30
  169.           IsCaps% .................................................  31
  170.           IsCtrl% .................................................  32
  171.           IsInsert% ...............................................  33
  172.           IsLShift% ...............................................  34
  173.           IsMouse% ................................................  35
  174.           IsNum%() ................................................  36
  175.           IsNumLock% ..............................................  37
  176.           IsPunct%() ..............................................  38
  177.           IsRShift% ...............................................  39
  178.           IsScroll% ...............................................  40
  179.           LPad$() .................................................  41
  180.           LScroll() ...............................................  42
  181.           MaskIn() ................................................  43
  182.           Menu%() .................................................  44
  183.  
  184.                                     Page iii
  185.  
  186.  
  187.           MLocate() ...............................................  45
  188.           MouseKey$ ...............................................  46
  189.           MouseOff ................................................  47
  190.           MouseOn .................................................  48
  191.           MouseStat() .............................................  49
  192.           MouseWin() ..............................................  50
  193.           MoveWin() ...............................................  51
  194.           NoShadow ................................................  52
  195.           NumIn() .................................................  53
  196.           NumOff ..................................................  54
  197.           NumOn ...................................................  55
  198.           NumStat% ................................................  56
  199.           OpenWin() ...............................................  57
  200.           PFirst() ................................................  58
  201.           PutScrn() ...............................................  59
  202.           ReAttr() ................................................  60
  203.           Recolor() ...............................................  61
  204.           RPad$() .................................................  62
  205.           RScroll() ...............................................  63
  206.           ScrollDn() ..............................................  64
  207.           ScrollOff ...............................................  65
  208.           ScrollOn ................................................  66
  209.           ScrollPrint() ...........................................  67
  210.           ScrollStat% .............................................  68
  211.           ScrollUp() ..............................................  69
  212.           ScrollWin ...............................................  70
  213.           SetText() ...............................................  71
  214.           StuffKey() ..............................................  72
  215.           TextEd() ................................................  73
  216.           TextIn() ................................................  74
  217.           Title() .................................................  75
  218.           Trim$() .................................................  76
  219.           VidMode% ................................................  77
  220.           VidSeg% .................................................  78
  221.           WinColor() ..............................................  79
  222.           WPrint() ................................................  80
  223.           WPrintC() ...............................................  81
  224.           WPrintCF() ..............................................  82
  225.           ZoomBox() ...............................................  83
  226.          Appendix .................................................  84
  227.          Bibliography .............................................  85
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.                                     Page iv
  242.  
  243.  
  244.                            PBTools:Classic Documentation
  245.  
  246.          Command Summary:
  247.  
  248.                AddShadow()   - Adds a shadow to current window.
  249.                Attr%         - Calculates a single integer from
  250.                                foreground and background.
  251.                Back%()       - Calculates background color from a
  252.                                single integer.
  253.                Box()         - Draws a box on the screen.
  254.                CapsOff       - Toggles Caps Lock key off.
  255.                CapsOn        - Toggles Caps Lock key on.
  256.                CapStat%      - Returns status of Caps Lock key.
  257.                Center$()     - Pad a string to the left and right with
  258.                                spaces.
  259.                ChangeWin()   - Changes the size of the current window.
  260.                CheckKey%     - True if key in keyboard buffer.
  261.                ClearWin      - Clears the contents of the current
  262.                                window.
  263.                CloseWin      - Closes a previously opened window.
  264.                ClrKbd        - Clears keyboard buffer without removing
  265.                                keys.
  266.                CurBot%       - Bottom scanline of cursor.
  267.                CurDisplay%   - Returns active display adaptor.
  268.                CurTop%       - Top scanline of cursor.
  269.                DelChar$()    - Deletes one character from a specified
  270.                                string.
  271.                Fill()        - Fills a box on the screen with a
  272.                                character.
  273.                Fore%()       - Calculates foreground color from an
  274.                                integer.
  275.                GetFrst$()    - Returns the first uppercase or number
  276.                                character of a string.
  277.                GetKey$       - Get a single key from keyboard buffer,
  278.                                wait if no key is present.
  279.                GetScrn$()    - Places any portion of the screen into a
  280.                                string.
  281.                InitPBScreen  - Initialize all variables for window
  282.                                routines.
  283.                InsChar$()    - Inserts a character into a specified
  284.                                string.
  285.                InsertOff     - Toggles insert status off.
  286.                InsertOn      - Toggles insert status on.
  287.                InsStat%      - Returns status of INS key.
  288.                IsAlpha%()    - Returns true if character is alpha (A-Z
  289.                                or a-z).
  290.                IsAlphaNum%() - Returns true if character is
  291.                                alphanumeric.
  292.                IsAlt%        - True if ALT key is depressed.
  293.                IsASCII%()    - Returns true if character is a printable
  294.                                ASCII character.
  295.                IsCaps%       - True if Caps Lock key is depressed.
  296.                IsCtrl%       - True if Ctrl key is depressed.
  297.                IsInsert%     - True if INS key is depressed.
  298.  
  299.                                      Page v
  300.  
  301.  
  302.                            PBTools:Classic Documentation
  303.  
  304.                IsLShift%     - True if Left Shift key is depressed.
  305.                IsMouse%      - Returns number of buttons on mouse if
  306.                                installed.
  307.                IsNum%()      - Returns true if character is numeric.
  308.                IsNumLock%    - True if Num Lock key is depressed.
  309.                IsPunct%()    - Returns true if character is
  310.                                punctuation.
  311.                IsRShift%     - True if Right Shift key is depressed.
  312.                IsScroll%     - True is Scroll Lock key is depressed.
  313.                LPad$()       - Pads the left side of a string with a
  314.                                character.
  315.                LScroll()     - Scrolls any portion of the screen to the
  316.                                left.
  317.                MLocate()     - Locate the mouse cursor at any place on
  318.                                screen.
  319.                MaskIn()      - Get masked input from user.
  320.                Menu%()       - Displays a menu and returns choice from
  321.                                user.
  322.                MouseKey$     - Gets a key from keyboard, mouse movement
  323.                                detected.
  324.                MouseOff      - Turns mouse cursor off.
  325.                MouseOn       - Turns mouse cursor on.
  326.                MouseStat()   - Returns mouse position, and button
  327.                                pressed.
  328.                MouseWin()    - Define the window for mouse cursor.
  329.                MoveWin()     - Moves the current window in any one of 4
  330.                                directions.
  331.                NoShadow      - Removes the shadow form the current
  332.                                window.
  333.                NumIn()       - Get numeric input from user.
  334.                NumOff        - Toggles Num Lock key off.
  335.                NumOn         - Toggles Num Lock Key on.
  336.                NumStat%      - Returns status of Num Lock Key.
  337.                OpenWin()     - Pops a window on the screen saving
  338.                                whatever is underneath.
  339.                PFirst()      - Print the first uppercase character of a
  340.                                string highlighted.
  341.                PutScrn()     - Puts a string created with GetScrn$()
  342.                                back onto the screen.
  343.                RPad$()       - Pads the right side of a string with a
  344.                                character.
  345.                RScroll()     - Scrolls any portion of the screen to the
  346.                                right.
  347.                ReAttr()      - Changes the color of any position on the
  348.                                screen.
  349.                Recolor()     - Changes color attribute of all positions
  350.                                on screen.
  351.                ScrollDn()    - Scrolls any part of the screen down.
  352.                ScrollOff     - Toggles Scroll Lock key off.
  353.                ScrollOn      - Toggles Scroll Lock key on.
  354.                ScrollPrint() - Scroll window up and print text on the
  355.                                bottom of the window.
  356.  
  357.                                Page vi
  358.  
  359.  
  360.                            PBTools:Classic Documentation
  361.  
  362.                ScrollStat%   - Returns the status of the scroll-lock
  363.                                key.
  364.                ScrollUp()    - Scrolls any part of the screen up.
  365.                ScrollWin     - Scrolls the text within the current
  366.                                window in one of 4 directions.
  367.                SetText()     - Sets cursor color from single integer.
  368.                StuffKey()    - Stuff the keyboard buffer with up to 16
  369.                                characters.
  370.                TextEd()      - Lets user edit the characters within a
  371.                                line.
  372.                TextIn()      - Gets ASCII input from user with editing
  373.                                options.
  374.                Title()       - Displays a title in one of 6 positions.
  375.                Trim$()       - Removes spaces from the beginning and
  376.                                end of a string.
  377.                VidMode%      - Returns current video mode.
  378.                VidSeg%       - Returns the segment of the video
  379.                                address.
  380.                WPrint()      - Displays a string within the current
  381.                                window.
  382.                WPrintC()     - Centers a text string horizontally
  383.                                within the current window.
  384.                WPrintCF()    - Print string centered in window with
  385.                                first character highlighted.
  386.                WinColor()    - Changes the text color of the current
  387.                                window.
  388.                ZoomBox()     - Explodes a box on the screen with noise
  389.                                option.
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.                                     Page vii
  415.  
  416.  
  417.                            PBTools:Classic Documentation
  418.          ──────────────────────────────────────────────────────────────
  419.          AddShadow()     SUB            Adds a shadow to current window
  420.          ──────────────────────────────────────────────────────────────
  421.          By using this  sub-routine  you  can  put a shadow in any of 2
  422.          predefined positions under the  current  active  window  using
  423.          either blank spaces  or  by  changing  the attributes  of  the
  424.          characters beneath the window.
  425.  
  426.          Usage:
  427.           CALL AddShadow(Dir%)
  428.  
  429.           Where Dir% = 1 for Drop Left shadow using black spaces
  430.                      = 2 for Drop Right using black spaces
  431.                      = 3 for Drop Left changing background attributes
  432.                      = 4 for Drop Right changing background
  433.                        attributes
  434.          See Also: NoShadow
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.                                      Page 1
  474.  
  475.  
  476.                            PBTools:Classic Documentation
  477.          ──────────────────────────────────────────────────────────────
  478.          Attr%           FUNCTION               Calculate color integer
  479.          ──────────────────────────────────────────────────────────────
  480.          Calculates a single  integer  from  foreground  and background
  481.          values that you specify.  Use this  function  to change colors
  482.          in any sub-routine or function in PBTools:Classic that requires a
  483.          single integer color variable.
  484.  
  485.          Usage:
  486.           Color% = Attr%(foreground%,background%)
  487.  
  488.           Where Foreground% = Any color of the color table below.
  489.                 Background% = Any color from 0 to 7 of color table.
  490.  
  491.                                   Color Table:
  492.  
  493.                      0 - Black              8 - Grey
  494.                      1 - Blue               9 - Light Blue
  495.                      2 - Green             10 - Light Green
  496.                      3 - Cyan              11 - Light Cyan
  497.                      4 - Red               12 - Light Red
  498.                      5 - Magenta           13 - Light Magenta
  499.                      6 - Brown             14 - Yellow
  500.                      7 - White             15 - Bright White
  501.  
  502.          See Also:  Back%(), Fore%(), ReAttr(), WinColor()
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                                      Page 2
  533.  
  534.  
  535.                            PBTools:Classic Documentation
  536.          ──────────────────────────────────────────────────────────────
  537.          Back%()         FUNCTION           Calculates background color
  538.          ──────────────────────────────────────────────────────────────
  539.          Calculates the background  attribute from a single foreground/
  540.          background integer byte.
  541.  
  542.          Usage:
  543.           Background% = Back%(ColorByte%)
  544.  
  545.          See Also:  Attr%, Fore%(), ReAttr(), WinColor()
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                      Page 3
  592.  
  593.  
  594.                            PBTools:Classic Documentation
  595.          ──────────────────────────────────────────────────────────────
  596.          Box()          SUB                   Draws a box on the screen
  597.          ──────────────────────────────────────────────────────────────
  598.          Draws a box on the screen with one of 14 borders types.
  599.  
  600.          Usage:
  601.           CALL Box(Ypos%,Xpos%,Ylen%,Xlen%,Bor%,Shad%,BorC%,TextC%)
  602.  
  603.           Where Ypos%  = Top most row of the box
  604.                 Xpos%  = Left most column of the box
  605.                 Ylen%  = Total number of rows to draw the box in, not
  606.                          including the shadow
  607.                 Xlen%  = Total number of columns to draw the box, not
  608.                          including the shadow
  609.                 Bor%   = The selected border outline is one of the
  610.                          following:
  611.                            0 - No shadow
  612.                            1 - Single line box
  613.                            2 - Double line box
  614.                            3 - Single sides/double top & bottom
  615.                            4 - Double sides/single top & bottom
  616.                            5 - Pulldown single box
  617.                            6 - Pulldown double box
  618.                            7 - Pulldown single top/double sides &
  619.                                bottom
  620.                            8 - Pulldown double top/single sides &
  621.                                bottom
  622.                            9 - Single top & bottom/no sides
  623.                           10 - Double top & bottom/no sides
  624.                           11 - Solid style 1
  625.                           12 - Medium hatch
  626.                           13 - Solid style 2
  627.                 Shad%  = Placement of shadow is one of the following:
  628.                            1 - Drop Left shadow using black spaces
  629.                            2 - Drop Right using black spaces
  630.                            3 - Drop Left changing background
  631.                                attributes
  632.                            4 - Drop Right changing background
  633.                                attributes
  634.                 BorC%  = Single integer for border color (see Attr%)
  635.                 TextC% = Single integer for text color (see Attr%)
  636.  
  637.          See Also:  Attr%, ZoomBox()
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.                                      Page 4
  651.  
  652.  
  653.                            PBTools:Classic Documentation
  654.          ──────────────────────────────────────────────────────────────
  655.          CapsOff        SUB                   Toggles Caps Lock key off
  656.          ──────────────────────────────────────────────────────────────
  657.          Toggles the Caps Lock key to its OFF state.
  658.  
  659.          Usage:
  660.           CALL CapsOff
  661.  
  662.          See Also:  CapsOn, CapStat%
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.                                      Page 5
  710.  
  711.  
  712.                            PBTools:Classic Documentation
  713.          ──────────────────────────────────────────────────────────────
  714.          CapsOn         SUB                    Toggles Caps Lock key on
  715.          ──────────────────────────────────────────────────────────────
  716.          Toggles the Caps Lock key to its ON state.
  717.  
  718.          Usage:
  719.           CALL CapsOn
  720.  
  721.          See Also:  CapsOff, CapStat%
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.                                      Page 6
  769.  
  770.  
  771.                            PBTools:Classic Documentation
  772.          ──────────────────────────────────────────────────────────────
  773.          CapStat%       FUNCTION                Status of Caps Lock key
  774.          ──────────────────────────────────────────────────────────────
  775.          Returns a non-zero number if Caps Lock is on.
  776.  
  777.          Usage:
  778.           IF CapStat% THEN CALL CapsOff
  779.  
  780.          See Also:  CapsOff, CapsOn
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.                                      Page 7
  828.  
  829.  
  830.                            PBTools:Classic Documentation
  831.          ──────────────────────────────────────────────────────────────
  832.          ChangeWin()    SUB              Changes size of current window
  833.          ──────────────────────────────────────────────────────────────
  834.          Changes the size  of  the  current  window.   There  can be NO
  835.          shadow on the window when you resize it.
  836.  
  837.          Usage:
  838.           CALL ChangeWin(Dir%)
  839.  
  840.                Where Dir% = the direction that you want to resize.
  841.                   If Dir% = 1 then adds to the right one position.
  842.                           = 2 then removes from the right one position.
  843.                           = 3 then adds to the bottom one row.
  844.                           = 4 then removes from the bottom one row.
  845.  
  846.          See Also:  MoveWin()
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.                                      Page 8
  887.  
  888.  
  889.                            PBTools:Classic Documentation
  890.          ──────────────────────────────────────────────────────────────
  891.          CheckKey%      FUNCTION      True if key is in keyboard buffer
  892.          ──────────────────────────────────────────────────────────────
  893.          Checks the keyboard  buffer to see if a key is present without
  894.          removing it.
  895.  
  896.          Usage:
  897.           IF CheckKey% THEN GOSUB GetAllKeys
  898.  
  899.          See Also:  ClrKbd,   GetKey$,    IsAlt%,   IsCaps%,   IsCtrl%,
  900.                     IsInsert%, IsLShift%, IsNum%, IsRShift%, IsScroll%,
  901.                     StuffKey()
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.                                      Page 9
  946.  
  947.  
  948.                            PBTools:Classic Documentation
  949.          ──────────────────────────────────────────────────────────────
  950.          ClearWin       SUB           Clears contents of current window
  951.          ──────────────────────────────────────────────────────────────
  952.          Clears the contents of the current window.
  953.  
  954.          Usage:
  955.           CALL ClearWin
  956.  
  957.          See Also:  OpenWin(),    WinColor(),    WPrint(),   WPrintC(),
  958.                     WPrintCF()
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.                                     Page 10
  1005.  
  1006.  
  1007.                            PBTools:Classic Documentation
  1008.          ──────────────────────────────────────────────────────────────
  1009.          CloseWin       SUB            Closes the current active window
  1010.          ──────────────────────────────────────────────────────────────
  1011.          Closes the current  active  window.   DO  NOT  close  a window
  1012.          unless it is  the last window  you  popped  onto  the  screen,
  1013.          otherwise you lose access to all windows following it.
  1014.  
  1015.          Usage:
  1016.           CALL CloseWin
  1017.  
  1018.          See Also:  OpenWin()
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.                                     Page 11
  1064.  
  1065.  
  1066.                            PBTools:Classic Documentation
  1067.          ──────────────────────────────────────────────────────────────
  1068.          ClrKbd         SUB               Clear all keys from KB buffer
  1069.          ──────────────────────────────────────────────────────────────
  1070.          Clears all keys from the keyboard buffer.
  1071.  
  1072.          Usage:
  1073.           CALL ClrKbd
  1074.  
  1075.          See Also: CheckKey%, GetKey$, StuffKey()
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.                                     Page 12
  1123.  
  1124.  
  1125.                            PBTools:Classic Documentation
  1126.          ──────────────────────────────────────────────────────────────
  1127.          CurBot%        FUNCTION          Scanline for bottom of cursor
  1128.          ──────────────────────────────────────────────────────────────
  1129.          Returns a numeric  value of the scanline for the bottom of the
  1130.          cursor.  The cursor need not  be  displayed  when  routine  is
  1131.          called.
  1132.  
  1133.          Usage:
  1134.           CursorBottom% = CurBot%
  1135.  
  1136.          See Also:  CurTop%
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.                                     Page 13
  1182.  
  1183.  
  1184.                            PBTools:Classic Documentation
  1185.          ──────────────────────────────────────────────────────────────
  1186.          CurDisplay%    FUNCTION       Returns the active video display
  1187.          ──────────────────────────────────────────────────────────────
  1188.          This function returns  a numerical value of the type of active
  1189.          video display found in the BIOS ROM.
  1190.  
  1191.          Usage:
  1192.           VidType% = CurDisplay%
  1193.  
  1194.                         Where 0 = Monochrome
  1195.                               1 = CGA
  1196.                               2 = EGA
  1197.                               3 = MCGA
  1198.                               4 = VGA
  1199.  
  1200.          See Also:  VidSeg%, VidMode%
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.                                     Page 14
  1241.  
  1242.  
  1243.                            PBTools:Classic Documentation
  1244.          ──────────────────────────────────────────────────────────────
  1245.          CurTop%        FUNCTION         Scanline for the top of cursor
  1246.          ──────────────────────────────────────────────────────────────
  1247.          Returns a numeric  value  of  the  scanline for the top of the
  1248.          cursor.
  1249.  
  1250.          Usage:
  1251.           CursorTop% = CurTop%
  1252.  
  1253.          See Also:  CurBot%
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.                                     Page 15
  1300.  
  1301.  
  1302.                            PBTools:Classic Documentation
  1303.          ──────────────────────────────────────────────────────────────
  1304.          DelChar$()     FUNCTION       Delete a character from a string
  1305.          ──────────────────────────────────────────────────────────────
  1306.          Deletes one character from the user specified string.
  1307.  
  1308.          Usage:
  1309.           A$ = DelChar$(Tmp$, Xpos%)
  1310.  
  1311.                Where Xpos% = The position of the character you wish to
  1312.                              delete.
  1313.  
  1314.          See Also:  InsChar$()
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.                                     Page 16
  1359.  
  1360.  
  1361.                            PBTools:Classic Documentation
  1362.          ──────────────────────────────────────────────────────────────
  1363.          Fill()         SUB              Fills box with given character
  1364.          ──────────────────────────────────────────────────────────────
  1365.          Fills a box   on   the  screen  with  a  given  character  and
  1366.          background attribute.
  1367.  
  1368.          Usage:
  1369.           CALL Fill(Ypos%, Xpos%, Ylen%, Xlen%, Char%, Atr%)
  1370.  
  1371.                Where Char% = Characters to fill box with
  1372.                      Atr%  = Attribute to display character
  1373.  
  1374.          See Also:  Attr%, Box(), ReAttr(), Recolor
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.                                     Page 17
  1418.  
  1419.  
  1420.                            PBTools:Classic Documentation
  1421.          ──────────────────────────────────────────────────────────────
  1422.          Fore%()        FUNCTION            Calculates foreground color
  1423.          ──────────────────────────────────────────────────────────────
  1424.          Calculates foreground from a single color attribute integer.
  1425.  
  1426.          Usage:
  1427.           ForeGround% = Fore(Atr%)
  1428.  
  1429.          See Also:  Attr%, Back%()
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.                                     Page 18
  1477.  
  1478.  
  1479.                            PBTools:Classic Documentation
  1480.          ──────────────────────────────────────────────────────────────
  1481.          GetFrst$()     FUNCTION       Get the first char from a string
  1482.          ──────────────────────────────────────────────────────────────
  1483.          Returns the first valid alphanumeric character of a string.
  1484.  
  1485.          Usage:
  1486.           A$ = GetFrst$(Temp$)
  1487.  
  1488.          See Also:  PFirst(), WPrintCF()
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.                                     Page 19
  1536.  
  1537.  
  1538.                            PBTools:Classic Documentation
  1539.          ──────────────────────────────────────────────────────────────
  1540.          GetKey$        FUNCTION          Get single key from KB buffer
  1541.          ──────────────────────────────────────────────────────────────
  1542.          Gets a single key from the keyboard buffer, waits if no key is
  1543.          pressed.  Does not return the status of the shift keys if they
  1544.          are pressed individually.
  1545.  
  1546.          Usage:
  1547.           I$ = GetKey$
  1548.  
  1549.          See Also:  CheckKey%,  ClrKbd,  MaskIn(),  MouseKey$, NumIn(),
  1550.                     TextEd(), TextIn()
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.                                     Page 20
  1595.  
  1596.  
  1597.                            PBTools:Classic Documentation
  1598.          ──────────────────────────────────────────────────────────────
  1599.          GetScrn$()     FUNCTION       Put screen portion into a string
  1600.          ──────────────────────────────────────────────────────────────
  1601.          Places any portion  of the screen and it's color attributes in
  1602.          a string.
  1603.  
  1604.          Usage:
  1605.           Top$ = GetScrn$(Ypos%, Xpos%, Xlen%)
  1606.  
  1607.          See Also:  PutScrn()
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.                                     Page 21
  1654.  
  1655.  
  1656.                            PBTools:Classic Documentation
  1657.          ──────────────────────────────────────────────────────────────
  1658.          InitPBScreen   SUB              Init all variables for windows
  1659.          ──────────────────────────────────────────────────────────────
  1660.          This command should  be  called  upon  before using any of the
  1661.          windowing subroutines or  functions.    It   initializes   all
  1662.          variables necessary for proper windowing to occur.
  1663.  
  1664.          Usage:
  1665.           CALL InitPBScreen
  1666.  
  1667.          See Also:  CloseWin, OpenWin()
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.                                     Page 22
  1713.  
  1714.  
  1715.                            PBTools:Classic Documentation
  1716.          ──────────────────────────────────────────────────────────────
  1717.          InsChar$()     FUNCTION       Insert single char into a string
  1718.          ──────────────────────────────────────────────────────────────
  1719.          Inserts a single character into a user specified string.
  1720.  
  1721.          Usage:
  1722.           A$ = InsChar$(Tmp$, Tmp2$, Xpos%)
  1723.                Where Tmp$  = The string to be used
  1724.                      Tmp2$ = The character to insert into Tmp$
  1725.                      Xpos% = The position in Tmp$ where Tmp2$ should be
  1726.                              inserted.
  1727.  
  1728.          See Also:  DelChar$()
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.                                     Page 23
  1772.  
  1773.  
  1774.                            PBTools:Classic Documentation
  1775.          ──────────────────────────────────────────────────────────────
  1776.          InsertOff      SUB                      Toggles Insert key off
  1777.          ──────────────────────────────────────────────────────────────
  1778.          Toggles the Insert key to its OFF state.
  1779.  
  1780.          Usage:
  1781.           CALL InsertOff
  1782.  
  1783.          See Also:  InsertOn, InsStat%, IsInsert%
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.                                     Page 24
  1831.  
  1832.  
  1833.                            PBTools:Classic Documentation
  1834.          ──────────────────────────────────────────────────────────────
  1835.          InsertOn       SUB                       Toggles Insert key on
  1836.          ──────────────────────────────────────────────────────────────
  1837.          Toggles the Insert key to its ON state.
  1838.  
  1839.          Usage:
  1840.           CALL InsertOn
  1841.  
  1842.          See Also:  InsertOff, InsStat%, IsInsert%
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.                                     Page 25
  1890.  
  1891.  
  1892.                            PBTools:Classic Documentation
  1893.          ──────────────────────────────────────────────────────────────
  1894.          InsStat%       FUNCTION           Returns status of Insert key
  1895.          ──────────────────────────────────────────────────────────────
  1896.          Returns the status  of the insert key.  If it is ON it returns
  1897.          a non-zero number.
  1898.  
  1899.          Usage:
  1900.           Status%=InsStat%
  1901.  
  1902.          See Also:  InsertOff, InsertOn, IsInsert%
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.                                     Page 26
  1949.  
  1950.  
  1951.                            PBTools:Classic Documentation
  1952.          ──────────────────────────────────────────────────────────────
  1953.          IsAlpha%()     FUNCTION          Tests if a character is alpha
  1954.          ──────────────────────────────────────────────────────────────
  1955.          Returns a non-zero number if a character passed to it is alpha
  1956.          (A-Z or a-z).
  1957.  
  1958.          Usage:
  1959.           IF IsAlpha%(A$) THEN Yep
  1960.  
  1961.          See Also:  IsASCII%(), IsAlphaNum%(), IsNum%(), IsPunct%()
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.                                     Page 27
  2008.  
  2009.  
  2010.                            PBTools:Classic Documentation
  2011.          ──────────────────────────────────────────────────────────────
  2012.          IsAlphaNum%()  FUNCTION         Test if a char is alphanumeric
  2013.          ──────────────────────────────────────────────────────────────
  2014.          This function returns a non-zero value if the character passed
  2015.          to it is an alphanumeric character.
  2016.  
  2017.          Usage:
  2018.           IF IsAlphaNum%(A$) THEN Yep
  2019.  
  2020.          See Also:  IsAlpha%(), IsASCII%(), IsNum%(), IsPunct%()
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.                                     Page 28
  2067.  
  2068.  
  2069.                            PBTools:Classic Documentation
  2070.          ──────────────────────────────────────────────────────────────
  2071.          IsAlt%         FUNCTION           True if Alt key is depressed
  2072.          ──────────────────────────────────────────────────────────────
  2073.          Returns a non-zero number if an Alt key is depressed.
  2074.  
  2075.          Usage:
  2076.           IF IsAlt% THEN AltKeyPressed
  2077.  
  2078.          See Also:  GetKey$,  IsCaps%,  IsCtrl%,  IsInsert%, IsLShift%,
  2079.                     IsNumLock%, IsRShift%
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.                                     Page 29
  2126.  
  2127.  
  2128.                            PBTools:Classic Documentation
  2129.          ──────────────────────────────────────────────────────────────
  2130.          IsASCII%()     FUNCTION      Test if a char is printable ASCII
  2131.          ──────────────────────────────────────────────────────────────
  2132.          This function returns  a  non-zero  number  if  the  character
  2133.          passed to it is a printable ASCII character.  Valid characters
  2134.          range from 32 to 126.
  2135.  
  2136.          Usage:
  2137.           IF IsASCII%(A$) THEN Yep
  2138.  
  2139.          See Also:  IsAlpha%(), IsAlphaNum%(), IsNum%(), IsPunct%()
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.                                     Page 30
  2185.  
  2186.  
  2187.                            PBTools:Classic Documentation
  2188.          ──────────────────────────────────────────────────────────────
  2189.          IsCaps%        FUNCTION       True if Caps Lock key is pressed
  2190.          ──────────────────────────────────────────────────────────────
  2191.          Returns a non-zero number if the Caps Lock key is depressed.
  2192.  
  2193.          Usage:
  2194.           IF IsCaps% THEN Yep
  2195.  
  2196.          See Also:  GetKey$,  IsAlt%,  IsCtrl%,  IsInsert%,  IsLShift%,
  2197.                     IsNumLock%, IsRShift%
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.                                     Page 31
  2244.  
  2245.  
  2246.                            PBTools:Classic Documentation
  2247.          ──────────────────────────────────────────────────────────────
  2248.          IsCtrl%        FUNCTION          True if Ctrl key is depressed
  2249.          ──────────────────────────────────────────────────────────────
  2250.          Returns a non-zero number if a Ctrl key is depressed.
  2251.  
  2252.          Usage:
  2253.           IF IsCtrl% THEN Yep
  2254.  
  2255.          See Also:  GetKey$,  IsAlt%,  IsCaps%,  IsInsert%,  IsLShift%,
  2256.                     IsNumLock%, IsRShift%
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.                                     Page 32
  2303.  
  2304.  
  2305.                            PBTools:Classic Documentation
  2306.          ──────────────────────────────────────────────────────────────
  2307.          IsInsert%      FUNCTION        True if Insert key is depressed
  2308.          ──────────────────────────────────────────────────────────────
  2309.          Returns a non-zero number if the Insert key is depressed.
  2310.  
  2311.          Usage:
  2312.           IF IsInsert% THEN Yep
  2313.  
  2314.          See Also:  GetKey$,   IsAlt%,   IsCaps%,  IsCtrl%,  IsLShift%,
  2315.                     IsNumLock%, IsRShift%
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.                                     Page 33
  2362.  
  2363.  
  2364.                            PBTools:Classic Documentation
  2365.          ──────────────────────────────────────────────────────────────
  2366.          IsLShift%      FUNCTION      True if Left Shift key is pressed
  2367.          ──────────────────────────────────────────────────────────────
  2368.          Returns a non-zero number if the Left Shift Key is depressed.
  2369.  
  2370.          Usage:
  2371.           IF IsLShift% THEN Yep
  2372.  
  2373.          See Also:  IsRShift%
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.                                     Page 34
  2421.  
  2422.  
  2423.                            PBTools:Classic Documentation
  2424.          ──────────────────────────────────────────────────────────────
  2425.          IsMouse%       FUNCTION           Number of buttons on a mouse
  2426.          ──────────────────────────────────────────────────────────────
  2427.          Returns the number of buttons a mouse has if one is installed.
  2428.  
  2429.          Usage:
  2430.           IF IsMouse% THEN Buttons%=IsMouse%
  2431.  
  2432.          See Also:  MLocate(),     MouseKey$,     MouseOff,    MouseOn,
  2433.                     MouseStat(), MouseWin()
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.                                     Page 35
  2480.  
  2481.  
  2482.                            PBTools:Classic Documentation
  2483.          ──────────────────────────────────────────────────────────────
  2484.          IsNum%()       FUNCTION          Test if character is a number
  2485.          ──────────────────────────────────────────────────────────────
  2486.          This function returns  a  non-zero  number  if  the  character
  2487.          passed to it is a number character.   The characters evaluated
  2488.          are "0" [CHR$(48)] thru "9" [CHR$(57)].
  2489.  
  2490.          Usage:
  2491.           IF IsNum%(A$) THEN Yep
  2492.  
  2493.          See Also:  IsAlpha%(), IsAlphaNum%(), IsASCII%(), IsPunct%()
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.                                     Page 36
  2539.  
  2540.  
  2541.                            PBTools:Classic Documentation
  2542.          ──────────────────────────────────────────────────────────────
  2543.          IsNumLock%     FUNCTION        True if Num Lock key is pressed
  2544.          ──────────────────────────────────────────────────────────────
  2545.          Returns a non-zero number if the Num Lock key is depressed.
  2546.  
  2547.          Usage:
  2548.           IF IsNumLock% THEN Yep
  2549.  
  2550.          See Also:  GetKey$,   IsAlt%,   IsCaps%,  IsCtrl%,  IsInsert%,
  2551.                     IsLShift%, IsRShift%
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.                                     Page 37
  2598.  
  2599.  
  2600.                            PBTools:Classic Documentation
  2601.          ──────────────────────────────────────────────────────────────
  2602.          IsPunct%()     FUNCTION          Test if a char is punctuation
  2603.          ──────────────────────────────────────────────────────────────
  2604.          This function returns  a  non-zero  number if a character is a
  2605.          valid punctuation symbol.  Valid punctuation symbols are:
  2606.          !@#$%^&*(),.:;'"?/\[]{}-+=<>
  2607.  
  2608.          Usage:
  2609.           IF IsPunct%(A$) THEN Yep
  2610.  
  2611.           See Also:  IsAlpha%(), IsAlphaNum%(), IsASCII%(), IsNum%()
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.                                     Page 38
  2657.  
  2658.  
  2659.                            PBTools:Classic Documentation
  2660.          ──────────────────────────────────────────────────────────────
  2661.          IsRShift%      FUNCTION         True if Right Shift is pressed
  2662.          ──────────────────────────────────────────────────────────────
  2663.          Returns a non-zero number if the Right Shift key is depressed.
  2664.  
  2665.          Usage:
  2666.           IF IsRShift% THEN Yep
  2667.  
  2668.          See Also:  GetKey$,   IsAlt%,   IsCaps%,  IsCtrl%,  IsInsert%,
  2669.                     IsLShift%, IsNumLock%
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.                                     Page 39
  2716.  
  2717.  
  2718.                            PBTools:Classic Documentation
  2719.          ──────────────────────────────────────────────────────────────
  2720.          IsScroll%      FUNCTION         True if Scroll Lock is pressed
  2721.          ──────────────────────────────────────────────────────────────
  2722.          Returns a non-zero number if the Scroll Lock key is depressed.
  2723.  
  2724.          Usage:
  2725.           IF IsScroll% THEN Yep
  2726.  
  2727.          See Also:  GetKey$,   IsAlt%,   IsCaps%,  IsCtrl%,  IsInsert%,
  2728.                     IsLShift%, IsNumLock%
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.                                     Page 40
  2775.  
  2776.  
  2777.                            PBTools:Classic Documentation
  2778.          ──────────────────────────────────────────────────────────────
  2779.          LPad$()        FUNCTION      Pad left side of string with char
  2780.          ──────────────────────────────────────────────────────────────
  2781.          This function will pad the left side of a string with any user
  2782.          defined character.
  2783.  
  2784.          Usage:
  2785.           A$ = LPad$(Lin$, Length%, Char%)
  2786.  
  2787.                Where Lin$    = The string you wish to pad.
  2788.                      Length% = How many characters to pad the left side
  2789.                                of the string with.
  2790.                      Char%   = The ASCII value of the character you
  2791.                                wish to pad the string with.
  2792.  
  2793.          See Also:  RPad$(), Trim$()
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.                                     Page 41
  2834.  
  2835.  
  2836.                            PBTools:Classic Documentation
  2837.          ──────────────────────────────────────────────────────────────
  2838.          LScroll()      SUB              Scrolls portion of screen left
  2839.          ──────────────────────────────────────────────────────────────
  2840.          Scrolls any portion of the screen to the left.
  2841.  
  2842.          Usage:
  2843.           CALL LScroll(TopRow%,LeftCol%,BotRow%,RightCol%,Cols%,Atr%)
  2844.  
  2845.          See Also:  RScroll(), ScrollDn(), ScrollUp(), ScrollWin
  2846.  
  2847.  
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.                                     Page 42
  2893.  
  2894.  
  2895.                            PBTools:Classic Documentation
  2896.          ──────────────────────────────────────────────────────────────
  2897.          MaskIn()       SUB             Gets masked input from the user
  2898.          ──────────────────────────────────────────────────────────────
  2899.          By specifying a  Mask$  you  may  get  input only in the areas
  2900.          where you wish.
  2901.  
  2902.          Usage:
  2903.           CALL MaskIn(Ypos%,Xpos%,TexCol%,Hilite%,Mask$,Deflt$,Term$)
  2904.  
  2905.                Where TexCol% = The color  of  the  text when editing is
  2906.                                done
  2907.                      Hilite% = The color of the text as it is edited
  2908.                      Mask$   = The desired mask to use for getting
  2909.                                input.  The following characters  can be
  2910.                                used in defining a Mask$:
  2911.                                  _ = Any character
  2912.                                  @ =  Alpha  characters only (Upper and
  2913.                                      Lower)
  2914.                                  # = Numeric characters only
  2915.                                  ! = Uppercase Alpha only
  2916.                                  | = Alpha and numeric only (Uppercase)
  2917.                      Deflt$  = The default answer for input.
  2918.                      Term$   = The terminating key returned for
  2919.                                editing.
  2920.  
  2921.          See Also:  GetKey$, MouseKey$, NumIn(), TextEd(), TextIn()
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.                                     Page 43
  2952.  
  2953.  
  2954.                            PBTools:Classic Documentation
  2955.          ──────────────────────────────────────────────────────────────
  2956.          Menu%()        FUNCTION        Vertical menu to get use choice
  2957.          ──────────────────────────────────────────────────────────────
  2958.          Displays a menu  with a moveable scroll bar and allows user to
  2959.          either choose a selection with  the  first  letter of the menu
  2960.          selection or by pressing Enter.
  2961.  
  2962.          Usage:
  2963.           Choice%=Menu%(Choices$(),Ypos%,Ylen%,Current%,Hilite%,Typ%)
  2964.  
  2965.                   Where Choices$() = Choices to display.
  2966.                         Ypos%      = The starting row  to  the  display
  2967.                                      menu relative  to the current open
  2968.                                      window.
  2969.                         Ylen%      = The  number  of   the  choices  to
  2970.                                      display.  If all choices cannot be
  2971.                                      displayed  then  remaining choices
  2972.                                      will be scrolled onto the screen.
  2973.                         Current%   = The  default   choice   to  hilite
  2974.                                      first.
  2975.                         Hilite%    = The color to display  the  current
  2976.                                      choice.
  2977.                         Typ%       = Defines the type of menu.  If zero
  2978.                                      the menu  will  be non-hotkey, any
  2979.                                      other  value  defaults  to  hotkey
  2980.                                      type menu   allowing   for   first
  2981.                                      letter of  selection to be pressed
  2982.                                      ending routine.
  2983.  
  2984.          See Also:  OpenWin()
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.                                     Page 44
  3011.  
  3012.  
  3013.                            PBTools:Classic Documentation
  3014.          ──────────────────────────────────────────────────────────────
  3015.          MLocate()      SUB              Locates mouse cursor on screen
  3016.          ──────────────────────────────────────────────────────────────
  3017.          Locates the mouse cursor to a desired position on the screen.
  3018.  
  3019.          Usage:
  3020.           CALL MLocate(Ypos%,Xpos%)
  3021.  
  3022.          See Also:  IsMouse%, MouseOff, MouseOn, MouseStat()
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.                                     Page 45
  3070.  
  3071.  
  3072.                            PBTools:Classic Documentation
  3073.          ──────────────────────────────────────────────────────────────
  3074.          MouseKey$      FUNCTION          Gets input from mouse buttons
  3075.          ──────────────────────────────────────────────────────────────
  3076.          Gets keyboard input  from  user.   If mouse is attached, mouse
  3077.          movements are also used.
  3078.  
  3079.          Usage:
  3080.           I$=MouseKey$
  3081.              Left Button  = Enter
  3082.              Right Button = Esc
  3083.  
  3084.          See Also: GetKey$, IsMouse%
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.                                     Page 46
  3129.  
  3130.  
  3131.                            PBTools:Classic Documentation
  3132.          ──────────────────────────────────────────────────────────────
  3133.          MouseOff       SUB                      Turns mouse cursor off
  3134.          ──────────────────────────────────────────────────────────────
  3135.          Turns the mouse  cursor  OFF  so  that  it  is  hidden and not
  3136.          displayed on the screen.
  3137.  
  3138.          Usage:
  3139.           CALL MouseOff
  3140.  
  3141.          See Also:  IsMouse%, MouseOn, MouseStat()
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.                                     Page 47
  3188.  
  3189.  
  3190.                            PBTools:Classic Documentation
  3191.          ──────────────────────────────────────────────────────────────
  3192.          MouseOn        SUB                       Turns mouse cursor on
  3193.          ──────────────────────────────────────────────────────────────
  3194.          Turns the mouse cursor ON so it is visible on the screen.
  3195.  
  3196.          Usage:
  3197.           CALL MouseOn
  3198.  
  3199.          See Also:  IsMouse%, MouseOff, MouseStat()
  3200.  
  3201.  
  3202.  
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.                                     Page 48
  3247.  
  3248.  
  3249.                            PBTools:Classic Documentation
  3250.          ──────────────────────────────────────────────────────────────
  3251.          MouseStat()    SUB                Gets status of mouse buttons
  3252.          ──────────────────────────────────────────────────────────────
  3253.          Returns the status of the mouse buttons if one is installed.
  3254.  
  3255.          Usage:
  3256.           CALL MouseStat(Button%, Ypos%, Xpos%)
  3257.  
  3258.                Where Button% = Current button(s) depressed
  3259.  
  3260.          See Also:  IsMouse%, MouseOff, MouseOn
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.                                     Page 49
  3306.  
  3307.  
  3308.                            PBTools:Classic Documentation
  3309.          ──────────────────────────────────────────────────────────────
  3310.          MouseWin()     SUB             Defines window for mouse cursor
  3311.          ──────────────────────────────────────────────────────────────
  3312.          Defines the window for the mouse cursor to be displayed in.
  3313.  
  3314.          Usage:
  3315.           CALL MouseWin(Ypos%, Xpos%, Ylen%, Xlen%)
  3316.  
  3317.          See Also:  IsMouse%, MouseOff, MouseOn, MouseStat()
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.                                     Page 50
  3365.  
  3366.  
  3367.                            PBTools:Classic Documentation
  3368.          ──────────────────────────────────────────────────────────────
  3369.          MoveWin()      SUB                 Moves current active window
  3370.          ──────────────────────────────────────────────────────────────
  3371.          Moves the current active window on the screen.
  3372.  
  3373.          Usage:
  3374.           CALL MoveWin(Dir%)
  3375.  
  3376.          Where if Dir% = 1 then moves window Right one position.
  3377.                        = 2 then moves window Left one position.
  3378.                        = 3 then moves window Down one position.
  3379.                        = 4 then moves window Up one position.
  3380.  
  3381.          See Also:  NoShadow, OpenWin()
  3382.  
  3383.  
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.                                     Page 51
  3424.  
  3425.  
  3426.                            PBTools:Classic Documentation
  3427.          ──────────────────────────────────────────────────────────────
  3428.          NoShadow       SUB           Remove shadow from current window
  3429.          ──────────────────────────────────────────────────────────────
  3430.          Removes the shadow  from  the  current window.  (Required when
  3431.          moving or resizing windows)
  3432.  
  3433.          Usage:
  3434.           CALL NoShadow
  3435.  
  3436.          See Also:  AddShadow(), ChangeWin(), MoveWin()
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.                                     Page 52
  3483.  
  3484.  
  3485.                            PBTools:Classic Documentation
  3486.          ──────────────────────────────────────────────────────────────
  3487.          NumIn()        SUB                Gets numeric input from user
  3488.          ──────────────────────────────────────────────────────────────
  3489.          Gets numeric input from the user with text editing features.
  3490.  
  3491.          Usage:
  3492.           CALL NumIn(Ypos%,Xpos%,Dgts%,NumCol%,Hilite%,Answer#,Term$)
  3493.  
  3494.                        Where Dgts%   = Numbers after decimal point
  3495.                              NumCol% = Color of text after input
  3496.                              Answer# = Double precision real number
  3497.                                        with input
  3498.                              Term$   = Key used to terminate input
  3499.  
  3500.          See Also:  GetKey$, MaskIn(), TextEd(), TextIn()
  3501.  
  3502.  
  3503.  
  3504.  
  3505.  
  3506.  
  3507.  
  3508.  
  3509.  
  3510.  
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522.  
  3523.  
  3524.  
  3525.  
  3526.  
  3527.  
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536.  
  3537.  
  3538.  
  3539.  
  3540.  
  3541.                                     Page 53
  3542.  
  3543.  
  3544.                            PBTools:Classic Documentation
  3545.          ──────────────────────────────────────────────────────────────
  3546.          NumOff         SUB                    Toggles Num Lock key off
  3547.          ──────────────────────────────────────────────────────────────
  3548.          Toggles the Num Lock key to its OFF state.
  3549.  
  3550.          Usage:
  3551.           CALL NumOff
  3552.  
  3553.          See Also:  NumOn
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571.  
  3572.  
  3573.  
  3574.  
  3575.  
  3576.  
  3577.  
  3578.  
  3579.  
  3580.  
  3581.  
  3582.  
  3583.  
  3584.  
  3585.  
  3586.  
  3587.  
  3588.  
  3589.  
  3590.  
  3591.  
  3592.  
  3593.  
  3594.  
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.                                     Page 54
  3601.  
  3602.  
  3603.                            PBTools:Classic Documentation
  3604.          ──────────────────────────────────────────────────────────────
  3605.          NumOn          SUB                     Toggles Num Lock key on
  3606.          ──────────────────────────────────────────────────────────────
  3607.          Toggles the Num Lock key to its ON state.
  3608.  
  3609.          Usage:
  3610.           CALL NumOn
  3611.  
  3612.          See Also:  NumOff
  3613.  
  3614.  
  3615.  
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642.  
  3643.  
  3644.  
  3645.  
  3646.  
  3647.  
  3648.  
  3649.  
  3650.  
  3651.  
  3652.  
  3653.  
  3654.  
  3655.  
  3656.  
  3657.  
  3658.  
  3659.                                     Page 55
  3660.  
  3661.  
  3662.                            PBTools:Classic Documentation
  3663.          ──────────────────────────────────────────────────────────────
  3664.          NumStat%       FUNCTION             True if Num Lock key is on
  3665.          ──────────────────────────────────────────────────────────────
  3666.          Returns a non-zero number if Num Lock is on.
  3667.  
  3668.          Usage:
  3669.           IF NumStat% THEN Yep
  3670.  
  3671.          See Also:  NumOff, NumOn
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677.  
  3678.  
  3679.  
  3680.  
  3681.  
  3682.  
  3683.  
  3684.  
  3685.  
  3686.  
  3687.  
  3688.  
  3689.  
  3690.  
  3691.  
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.  
  3701.  
  3702.  
  3703.  
  3704.  
  3705.  
  3706.  
  3707.  
  3708.  
  3709.  
  3710.  
  3711.  
  3712.  
  3713.  
  3714.  
  3715.  
  3716.  
  3717.  
  3718.                                     Page 56
  3719.  
  3720.  
  3721.                            PBTools:Classic Documentation
  3722.          ──────────────────────────────────────────────────────────────
  3723.          OpenWin()      SUB                       Pops window on screen
  3724.          ──────────────────────────────────────────────────────────────
  3725.          Pops a window on the screen saving all contents underneath.
  3726.  
  3727.          Usage:
  3728.           CALL OpenWin(Ypos%,Xpos%,YLen%,Xlen%,Brdr%,BrC%,TxC%,Shd%,_
  3729.                        Zm%,Ns%)
  3730.  
  3731.                        Where Brdr% = Border selection (see Box()).
  3732.                              BrC%  = The color attribute for the
  3733.                                      border.
  3734.                              TxC%  = The color attribute for text.
  3735.                              Shd%  = The placement of the shadow (see
  3736.                                      Box()).
  3737.                              Zm%   = True - zoom the window onto the
  3738.                                      screen.
  3739.                              Ns%   = True - make noise when opening
  3740.                                      window.
  3741.  
  3742.          See Also:  Box(), CloseWin
  3743.  
  3744.  
  3745.  
  3746.  
  3747.  
  3748.  
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774.  
  3775.  
  3776.  
  3777.                                     Page 57
  3778.  
  3779.  
  3780.                            PBTools:Classic Documentation
  3781.          ──────────────────────────────────────────────────────────────
  3782.          PFirst()       SUB           Prints string, first char hilited
  3783.          ──────────────────────────────────────────────────────────────
  3784.          Prints a user  specified string with the first valid character
  3785.          of that string highlighted.
  3786.  
  3787.          Usage:
  3788.           CALL PFirst(Temp$, TextC%, HltC%)
  3789.  
  3790.                Where Temp$  = The text to be printed.
  3791.                      TextC% = The one  byte  color  of  the  text to be
  3792.                               printed (See Attr%).
  3793.                      HltC%  = The one byte color of the highlighted
  3794.                               text (See Attr%).
  3795.  
  3796.          See Also:  Attr%, SetText()
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803.  
  3804.  
  3805.  
  3806.  
  3807.  
  3808.  
  3809.  
  3810.  
  3811.  
  3812.  
  3813.  
  3814.  
  3815.  
  3816.  
  3817.  
  3818.  
  3819.  
  3820.  
  3821.  
  3822.  
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835.  
  3836.                                     Page 58
  3837.  
  3838.  
  3839.                            PBTools:Classic Documentation
  3840.          ──────────────────────────────────────────────────────────────
  3841.          PutScrn()      SUB               Put captured string on screen
  3842.          ──────────────────────────────────────────────────────────────
  3843.          Puts a string created with GetScrn$() back onto the screen.
  3844.  
  3845.          Usage:
  3846.           CALL PutScrn(Ypos%, Xpos%, Text$)
  3847.  
  3848.          See Also:  GetScrn$()
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869.  
  3870.  
  3871.  
  3872.  
  3873.  
  3874.  
  3875.  
  3876.  
  3877.  
  3878.  
  3879.  
  3880.  
  3881.  
  3882.  
  3883.  
  3884.  
  3885.  
  3886.  
  3887.  
  3888.  
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.                                     Page 59
  3896.  
  3897.  
  3898.                            PBTools:Classic Documentation
  3899.          ──────────────────────────────────────────────────────────────
  3900.          ReAttr()       SUB                     Changes color attribute
  3901.          ──────────────────────────────────────────────────────────────
  3902.          Changes the color attribute of any position on the screen.
  3903.  
  3904.          Usage:
  3905.           CALL ReAttr(Ypos%, Xpos%, Ylen%, Ypos%, NewColor%)
  3906.  
  3907.          See Also:  Attr%, Fill(), Recolor
  3908.  
  3909.  
  3910.  
  3911.  
  3912.  
  3913.  
  3914.  
  3915.  
  3916.  
  3917.  
  3918.  
  3919.  
  3920.  
  3921.  
  3922.  
  3923.  
  3924.  
  3925.  
  3926.  
  3927.  
  3928.  
  3929.  
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.                                     Page 60
  3955.  
  3956.  
  3957.                            PBTools:Classic Documentation
  3958.          ──────────────────────────────────────────────────────────────
  3959.          Recolor()      SUB           Changes color attribute of screen
  3960.          ──────────────────────────────────────────────────────────────
  3961.          Changes the color attribute of all positions on the screen.
  3962.  
  3963.          Usage:
  3964.           CALL Recolor(Old%, New%)
  3965.  
  3966.                Where Old% = the attribute on the screen you want to
  3967.                             change.
  3968.                      New% = the attribute on the screen to replace the
  3969.                             Old% attribute with.
  3970.  
  3971.          See Also:  Attr%, Fill(), ReAttr()
  3972.  
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978.  
  3979.  
  3980.  
  3981.  
  3982.  
  3983.  
  3984.  
  3985.  
  3986.  
  3987.  
  3988.  
  3989.  
  3990.  
  3991.  
  3992.  
  3993.  
  3994.  
  3995.  
  3996.  
  3997.  
  3998.  
  3999.  
  4000.  
  4001.  
  4002.  
  4003.  
  4004.  
  4005.  
  4006.  
  4007.  
  4008.  
  4009.  
  4010.  
  4011.  
  4012.  
  4013.                                     Page 61
  4014.  
  4015.  
  4016.                            PBTools:Classic Documentation
  4017.          ──────────────────────────────────────────────────────────────
  4018.          RPad$()        SUB            Pads right of string with a char
  4019.          ──────────────────────────────────────────────────────────────
  4020.          Pads the right   side  of  a  string  with  a  user  specified
  4021.          character as many times as you wish.
  4022.  
  4023.          Usage:
  4024.           A$ = RPad$(Lin$, Length%, Char%)
  4025.  
  4026.          Where Lin$    = The string you wish to pad.
  4027.                Length% = How many characters  to  pad the right side of
  4028.                          the string with.
  4029.                Char%   = The ASCII value of the character you wish
  4030.                          to pad the string with.
  4031.  
  4032.          See Also:  LPad$(), Trim$()
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038.  
  4039.  
  4040.  
  4041.  
  4042.  
  4043.  
  4044.  
  4045.  
  4046.  
  4047.  
  4048.  
  4049.  
  4050.  
  4051.  
  4052.  
  4053.  
  4054.  
  4055.  
  4056.  
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071.  
  4072.                                     Page 62
  4073.  
  4074.  
  4075.                            PBTools:Classic Documentation
  4076.          ──────────────────────────────────────────────────────────────
  4077.          RScroll()      SUB             Scrolls portion of screen right
  4078.          ──────────────────────────────────────────────────────────────
  4079.          Scrolls any portion of the screen to the right.
  4080.  
  4081.          Usage:
  4082.           CALL RScroll(TopRow%,LeftCol%,BotRow%,RightCol%,Cols%,Atr%)
  4083.  
  4084.          See Also:  LScroll(), ScrollDn(), ScrollUp(), ScrollWin
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113.  
  4114.  
  4115.  
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.                                     Page 63
  4132.  
  4133.  
  4134.                            PBTools:Classic Documentation
  4135.          ──────────────────────────────────────────────────────────────
  4136.          ScrollDn()     SUB              Scrolls portion of screen down
  4137.          ──────────────────────────────────────────────────────────────
  4138.          Scrolls any part of the screen down one line.
  4139.  
  4140.          Usage:
  4141.           CALL ScrollDn(Left%, Right%, Top%, Bottom%, Rows%, Atr%)
  4142.  
  4143.                Where Left%   = The left corner of the screen
  4144.                      Right%  = The right corner of the screen
  4145.                      Top%    = The top most line to scroll
  4146.                      Bottom% = The bottom most line to scroll
  4147.                      Rows%   = The number of rows to scroll
  4148.                      Atr%    = The color attribute to use
  4149.  
  4150.          See Also:  Attr%, ScrollUp(), ScrollWin
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.  
  4176.  
  4177.  
  4178.  
  4179.  
  4180.  
  4181.  
  4182.  
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  
  4188.  
  4189.  
  4190.                                     Page 64
  4191.  
  4192.  
  4193.                            PBTools:Classic Documentation
  4194.          ──────────────────────────────────────────────────────────────
  4195.          ScrollOff      SUB                 Toggles Scroll Lock key off
  4196.          ──────────────────────────────────────────────────────────────
  4197.          Toggles the Scroll Lock key to its OFF state.
  4198.  
  4199.          Usage:
  4200.           CALL ScrollOff
  4201.  
  4202.          See Also:  ScrollOn, ScrollStat%
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248.  
  4249.                                     Page 65
  4250.  
  4251.  
  4252.                            PBTools:Classic Documentation
  4253.          ──────────────────────────────────────────────────────────────
  4254.          ScrollOn       SUB                  Toggles Scroll Lock key on
  4255.          ──────────────────────────────────────────────────────────────
  4256.          Toggles the Scroll Lock key to its ON state.
  4257.  
  4258.          Usage:
  4259.           CALL ScrollOn
  4260.  
  4261.          See Also:  ScrollOff, ScrollStat%
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.  
  4268.  
  4269.  
  4270.  
  4271.  
  4272.  
  4273.  
  4274.  
  4275.  
  4276.  
  4277.  
  4278.  
  4279.  
  4280.  
  4281.  
  4282.  
  4283.  
  4284.  
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307.  
  4308.                                     Page 66
  4309.  
  4310.  
  4311.                            PBTools:Classic Documentation
  4312.          ──────────────────────────────────────────────────────────────
  4313.          ScrollPrint()  SUB           Scroll window up and print string
  4314.          ──────────────────────────────────────────────────────────────
  4315.          This sub-routine scrolls the window up one position and prints
  4316.          the user specified text at the bottom of that window.
  4317.  
  4318.          Usage:
  4319.           CALL ScrollPrint(Text$)
  4320.  
  4321.          See Also:  ScrollDn(), ScrollUp(), ScrollWin
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.  
  4328.  
  4329.  
  4330.  
  4331.  
  4332.  
  4333.  
  4334.  
  4335.  
  4336.  
  4337.  
  4338.  
  4339.  
  4340.  
  4341.  
  4342.  
  4343.  
  4344.  
  4345.  
  4346.  
  4347.  
  4348.  
  4349.  
  4350.  
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363.  
  4364.  
  4365.  
  4366.  
  4367.                                     Page 67
  4368.  
  4369.  
  4370.                            PBTools:Classic Documentation
  4371.          ──────────────────────────────────────────────────────────────
  4372.          ScrollStat%    SUB               True if Scroll Lock key is on
  4373.          ──────────────────────────────────────────────────────────────
  4374.          Returns a non-zero number if Scroll Lock is on.
  4375.  
  4376.          Usage:
  4377.           IF ScrollStat% THEN Yep
  4378.  
  4379.          See Also:  ScrollOff, ScrollOn
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.  
  4388.  
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.                                     Page 68
  4427.  
  4428.  
  4429.                            PBTools:Classic Documentation
  4430.          ──────────────────────────────────────────────────────────────
  4431.          ScrollUp()     SUB                Scrolls portion of screen up
  4432.          ──────────────────────────────────────────────────────────────
  4433.          Scrolls any portion of the screen up one line.
  4434.  
  4435.          Usage:
  4436.           CALL ScrollUp(Left%, Right%, Top%, Bottom%, Rows%, Atr%)
  4437.  
  4438.          See Also:  Attr%, ScrollDn(), ScrollWin
  4439.  
  4440.  
  4441.  
  4442.  
  4443.  
  4444.  
  4445.  
  4446.  
  4447.  
  4448.  
  4449.  
  4450.  
  4451.  
  4452.  
  4453.  
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.  
  4471.  
  4472.  
  4473.  
  4474.  
  4475.  
  4476.  
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.                                     Page 69
  4486.  
  4487.  
  4488.                            PBTools:Classic Documentation
  4489.          ──────────────────────────────────────────────────────────────
  4490.          ScrollWin      SUB                           Scroll the window
  4491.          ──────────────────────────────────────────────────────────────
  4492.          Scrolls the current window up, down, left or right.
  4493.  
  4494.          Usage:
  4495.           CALL ScrollWin(Dir%)
  4496.  
  4497.                Where if Dir% = 1 then scrolls window Down.
  4498.                              = 2 then scrolls window Up.
  4499.                              = 3 then scrolls window Left.
  4500.                              = 4 then scrolls window Right.
  4501.  
  4502.          See Also:  OpenWin(), ScrollDn(), ScrollUp()
  4503.  
  4504.  
  4505.  
  4506.  
  4507.  
  4508.  
  4509.  
  4510.  
  4511.  
  4512.  
  4513.  
  4514.  
  4515.  
  4516.  
  4517.  
  4518.  
  4519.  
  4520.  
  4521.  
  4522.  
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.  
  4529.  
  4530.  
  4531.  
  4532.  
  4533.  
  4534.  
  4535.  
  4536.  
  4537.  
  4538.  
  4539.  
  4540.  
  4541.  
  4542.  
  4543.  
  4544.                                     Page 70
  4545.  
  4546.  
  4547.                            PBTools:Classic Documentation
  4548.          ──────────────────────────────────────────────────────────────
  4549.          SetText()      SUB            Sets cursor color from attribute
  4550.          ──────────────────────────────────────────────────────────────
  4551.          Set the cursor  color from an attribute created by the Attr%()
  4552.          function.
  4553.  
  4554.          Usage:
  4555.           CALL SetText(Atr%)
  4556.  
  4557.          See Also:  Attr%, Back%(), Fore%()
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.  
  4568.  
  4569.  
  4570.  
  4571.  
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.  
  4586.  
  4587.  
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.                                     Page 71
  4604.  
  4605.  
  4606.                            PBTools:Classic Documentation
  4607.          ──────────────────────────────────────────────────────────────
  4608.          StuffKey()     SUB                      Stuffs keyboard buffer
  4609.          ──────────────────────────────────────────────────────────────
  4610.          Stuffs the keyboard  buffer with up to 16 characters.  May not
  4611.          work with many keyboard enhancers.
  4612.  
  4613.          Usage:
  4614.           CALL StuffKey(Text$)
  4615.  
  4616.          See Also:  ClrKbd, GetKey$, MouseKey$
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.  
  4628.  
  4629.  
  4630.  
  4631.  
  4632.  
  4633.  
  4634.  
  4635.  
  4636.  
  4637.  
  4638.  
  4639.  
  4640.  
  4641.  
  4642.  
  4643.  
  4644.  
  4645.  
  4646.  
  4647.  
  4648.  
  4649.  
  4650.  
  4651.  
  4652.  
  4653.  
  4654.  
  4655.  
  4656.  
  4657.  
  4658.  
  4659.  
  4660.  
  4661.  
  4662.                                     Page 72
  4663.  
  4664.  
  4665.                            PBTools:Classic Documentation
  4666.          ──────────────────────────────────────────────────────────────
  4667.          TextEd()       SUB            Lets user edit chars in a string
  4668.          ──────────────────────────────────────────────────────────────
  4669.          Allows user to  edit  a  string  that is passed to the routine
  4670.          using all text editing features.
  4671.  
  4672.          Usage:
  4673.           CALL TextEd(Ypos%, Xpos%, Cpos%, TxC%, Hl%, Txt$, Term$)
  4674.  
  4675.                Where Cpos% = Cursor position within the string
  4676.                      TxC%  = The normal text color
  4677.                      Hl%   = The highlighted text color
  4678.                      Txt$  = The text to edit
  4679.                      Term$ = The terminating key that ended the routine
  4680.  
  4681.          See Also:  GetKey$, MaskIn(), NumIn(), TextIn()
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.  
  4694.  
  4695.  
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701.  
  4702.  
  4703.  
  4704.  
  4705.  
  4706.  
  4707.  
  4708.  
  4709.  
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.                                     Page 73
  4722.  
  4723.  
  4724.                            PBTools:Classic Documentation
  4725.          ──────────────────────────────────────────────────────────────
  4726.          TextIn()       SUB               Gets text input from the user
  4727.          ──────────────────────────────────────────────────────────────
  4728.          Get input from the user with all text editing features.
  4729.  
  4730.          Usage:
  4731.           CALL TextIn(Ypos%, Xpos%, Max%, TxC%, Hl%, Txt$, Term$)
  4732.  
  4733.                Where Max% = The maximum characters to allow in Txt$
  4734.  
  4735.          See Also:  GetKey$, MaskIn(), NumIn(), TextEd()
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765.  
  4766.  
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.                                     Page 74
  4781.  
  4782.  
  4783.                            PBTools:Classic Documentation
  4784.          ──────────────────────────────────────────────────────────────
  4785.          Title()        SUB                Puts title on current window
  4786.          ──────────────────────────────────────────────────────────────
  4787.          Displays a title on current window in a desired color.
  4788.  
  4789.          Usage:
  4790.           CALL Title(Position%, TCol%, Title$)
  4791.  
  4792.                Where Position% = Placement of title on window.
  4793.                                  1 = top left.
  4794.                                  2 = top center.
  4795.                                  3 = top right.
  4796.                                  4 = bottom left.
  4797.                                  5 = bottom center.
  4798.                                  6 = bottom right.
  4799.                      TCol%     = The color attribute of text to print.
  4800.  
  4801.          See Also:  Attr%, OpenWin(), WPrint(), WPrintC()
  4802.  
  4803.  
  4804.  
  4805.  
  4806.  
  4807.  
  4808.  
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825.  
  4826.  
  4827.  
  4828.  
  4829.  
  4830.  
  4831.  
  4832.  
  4833.  
  4834.  
  4835.  
  4836.  
  4837.  
  4838.  
  4839.                                     Page 75
  4840.  
  4841.  
  4842.                            PBTools:Classic Documentation
  4843.          ──────────────────────────────────────────────────────────────
  4844.          Trim$()        FUNCTION        Trim spaces from ends of string
  4845.          ──────────────────────────────────────────────────────────────
  4846.          Trims all spaces  from  the  left  and  right  side of a given
  4847.          string.
  4848.  
  4849.          Usage:
  4850.           A$ = Trim$(A$)
  4851.  
  4852.          See Also:  LPad$(), RPad$()
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858.  
  4859.  
  4860.  
  4861.  
  4862.  
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.  
  4895.  
  4896.  
  4897.  
  4898.                                     Page 76
  4899.  
  4900.  
  4901.                            PBTools:Classic Documentation
  4902.          ──────────────────────────────────────────────────────────────
  4903.          VidSeg%        FUNCTION       Segment for video I/O on display
  4904.          ──────────────────────────────────────────────────────────────
  4905.          Returns the segment for video I/O on active display.
  4906.  
  4907.          Usage:
  4908.           PRINT "The video segment is located at"; HEX$(VidSeg%)
  4909.  
  4910.          See Also:  CurDisplay%, VidMode%
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.  
  4955.  
  4956.  
  4957.                                     Page 77
  4958.  
  4959.  
  4960.                            PBTools:Classic Documentation
  4961.          ──────────────────────────────────────────────────────────────
  4962.          VidMode%       FUNCTION         Video mode for current display
  4963.          ──────────────────────────────────────────────────────────────
  4964.          Returns the video mode for current display.
  4965.  
  4966.          Usage:
  4967.           PRINT "Current Video Mode is"; VidMode%
  4968.  
  4969.          See Also:  CurDisplay%, VidSeg%
  4970.  
  4971.  
  4972.  
  4973.  
  4974.  
  4975.  
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.  
  4988.  
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003.  
  5004.  
  5005.  
  5006.  
  5007.  
  5008.  
  5009.  
  5010.  
  5011.  
  5012.  
  5013.  
  5014.  
  5015.  
  5016.                                     Page 78
  5017.  
  5018.  
  5019.                            PBTools:Classic Documentation
  5020.          ──────────────────────────────────────────────────────────────
  5021.          WinColor()     SUB            Set text color of current window
  5022.          ──────────────────────────────────────────────────────────────
  5023.          Changes the default text color of the current window.
  5024.  
  5025.          Usage:
  5026.           CALL WinColor(Atr%)
  5027.  
  5028.          See Also:  Attr%,   Back%(),   Fore%(),  OpenWin(),  WPrint(),
  5029.                     WPrintC()
  5030.  
  5031.  
  5032.  
  5033.  
  5034.  
  5035.  
  5036.  
  5037.  
  5038.  
  5039.  
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053.  
  5054.  
  5055.  
  5056.  
  5057.  
  5058.  
  5059.  
  5060.  
  5061.  
  5062.  
  5063.  
  5064.  
  5065.  
  5066.  
  5067.  
  5068.  
  5069.  
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075.                                     Page 79
  5076.  
  5077.  
  5078.                            PBTools:Classic Documentation
  5079.          ──────────────────────────────────────────────────────────────
  5080.          WPrint()       SUB             Prints string in current window
  5081.          ──────────────────────────────────────────────────────────────
  5082.          Prints a string within the current window in desired color.
  5083.  
  5084.          Usage:
  5085.           CALL WPrint(Ypos%, Xpos%, Text$, Atr%)
  5086.  
  5087.                Where Ypos%  and  Xpos%  are  relative  to the top right
  5088.                      corner of the window  which  is  considered  to be
  5089.                      point 0,0.
  5090.  
  5091.          See Also:  Attr%, OpenWin(), WPrintC()
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114.  
  5115.  
  5116.  
  5117.  
  5118.  
  5119.  
  5120.  
  5121.  
  5122.  
  5123.  
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133.  
  5134.                                     Page 80
  5135.  
  5136.  
  5137.                            PBTools:Classic Documentation
  5138.          ──────────────────────────────────────────────────────────────
  5139.          WPrintC()      SUB            Prints centered string in window
  5140.          ──────────────────────────────────────────────────────────────
  5141.          Prints a string   centered  horizontally  within  the  current
  5142.          window in the desired color.
  5143.  
  5144.          Usage:
  5145.           CALL WPrintC(Ypos%, Text$, Atr%)
  5146.  
  5147.          See Also:  Attr%, OpenWin(), WPrint()
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.  
  5168.  
  5169.  
  5170.  
  5171.  
  5172.  
  5173.  
  5174.  
  5175.  
  5176.  
  5177.  
  5178.  
  5179.  
  5180.  
  5181.  
  5182.  
  5183.  
  5184.  
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  
  5190.  
  5191.  
  5192.  
  5193.                                     Page 81
  5194.  
  5195.  
  5196.                            PBTools:Classic Documentation
  5197.          ──────────────────────────────────────────────────────────────
  5198.          WPrintCF()     SUB             Center string with hilited char
  5199.          ──────────────────────────────────────────────────────────────
  5200.          This subroutine will  print the user specified string centered
  5201.          within the current   window    with    the   first   character
  5202.          highlighted.
  5203.  
  5204.          Usage:
  5205.           CALL WPrintCF(Lin%, Text$, Atr%)
  5206.  
  5207.                Where Lin%  = The position relative to the active window
  5208.                              where the string is to be printed.
  5209.                      Text$ = The string to be printed.
  5210.                      Atr%  = The color to print the highlighted portion
  5211.                              of the text with.  (See Attr%)
  5212.  
  5213.          See Also:  Attr%, WPrint(), WPrintC()
  5214.  
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.  
  5223.  
  5224.  
  5225.  
  5226.  
  5227.  
  5228.  
  5229.  
  5230.  
  5231.  
  5232.  
  5233.  
  5234.  
  5235.  
  5236.  
  5237.  
  5238.  
  5239.  
  5240.  
  5241.  
  5242.  
  5243.  
  5244.  
  5245.  
  5246.  
  5247.  
  5248.  
  5249.  
  5250.  
  5251.  
  5252.                                     Page 82
  5253.  
  5254.  
  5255.                            PBTools:Classic Documentation
  5256.          ──────────────────────────────────────────────────────────────
  5257.          ZoomBox()      SUB                 Zooms a box onto the screen
  5258.          ──────────────────────────────────────────────────────────────
  5259.          Zooms a box onto the screen with option for noise.
  5260.  
  5261.          Usage:
  5262.           CALL ZoomBox(Ypos%,Xpos%,Ylen%,Xlen%,BDr%,Sh%,BrC%,TxC%,Ns%)
  5263.  
  5264.                Where BrC% = The color attribute of the border.
  5265.                      TxC% = The color attribute of the window's text.
  5266.                      Ns%  = A non-zero number if you wish for the
  5267.                             window to make noise while zooming onto the
  5268.                             screen.
  5269.  
  5270.          See Also:  Box(), OpenWin()
  5271.  
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289.  
  5290.  
  5291.  
  5292.  
  5293.  
  5294.  
  5295.  
  5296.  
  5297.  
  5298.  
  5299.  
  5300.  
  5301.  
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  
  5307.  
  5308.  
  5309.  
  5310.  
  5311.                                     Page 83
  5312.  
  5313.  
  5314.                                      Appendix
  5315.  
  5316.  
  5317.       A                                 L
  5318.         AddShadow      1; 52              LPad            41; 62,76
  5319.         Attr           2; 3,4,17,18       LScroll         42; 63
  5320.  
  5321.       B                                 M
  5322.         Back           3; 2,18,71,79      MLocate         43; 35
  5323.         Box            4; 17,57,82        MaskIn          44; 20,53,73,74
  5324.                                           Menu            45
  5325.       C                                   MouseKey        46; 20,35,43,72
  5326.         CapsOff        5; 6,7             MouseOff        47; 35,45,48-50
  5327.         CapsOn         6; 5,7             MouseOn         48; 35,45,47,50
  5328.         CapStat        7; 5,6             MouseStat       49; 35,45,47-50
  5329.         ChangeWin      8; 52              MouseWin        50; 35
  5330.         CheckKey       9; 12,20           MoveWin         51; 8,52
  5331.         ClearWin      10
  5332.         CloseWin      11; 22,57         N
  5333.         ClrKbd        12; 9,20,72         NoShadow        52; 1,51
  5334.         CurBot        13; 15              NumIn           53; 20,43,73,74
  5335.         CurDisplay    14; 77,78           NumOff          54; 55,56
  5336.         CurTop        15; 13              NumOn           55; 54,56
  5337.                                           NumStat         56
  5338.       D
  5339.         DelChar       16; 23            O
  5340.                                           OpenWin         57; 10,11,22,44
  5341.       F
  5342.         Fill          17; 60,61         P
  5343.         Fore          18; 2,3,71,79       PFirst          58; 19
  5344.                                           PutScrn         59; 21
  5345.       G
  5346.         GetFrst       19                R
  5347.         GetKey        20; 9,12,31-33      RPad            60; 41,76
  5348.         GetScrn       21; 59              RScroll         61; 42
  5349.                                           ReAttr          62; 2,3,17,61
  5350.       I                                   Recolor         63; 17,60
  5351.         InitPBScreen  22
  5352.         InsChar       23; 16            S
  5353.         InsertOff     24; 25,26           ScrollDn        64; 42,63,67,69
  5354.         InsertOn      25; 24,26           ScrollOff       65; 66,68
  5355.         InsStat       26; 24,25           ScrollOn        66; 65,68
  5356.         IsAlpha       27; 28,30,36,38     ScrollPrint     67
  5357.         IsAlphaNum    28; 27,30,36,38     ScrollStat      68; 65,66
  5358.         IsAlt         29; 9,31-33,37      ScrollUp        69; 42,63,64,67
  5359.         IsASCII       30; 27,28,36,38     ScrollWin       70; 58
  5360.         IsCaps        31; 9,29,32,33      SetText         71; 9,12
  5361.         IsCtrl        32; 9,29,31,33      StuffKey        72;
  5362.         IsInsert      33; 9,24-26,29
  5363.         IsLShift      34; 9,29,31-33    T
  5364.         IsMouse       35; 45-50           TextEd          73; 20,43,53,74
  5365.         IsNum         36; 9,27,28,30      TextIn          74; 20,43,53,73
  5366.         IsNumLock     37; 29,31-33,39     Title           75
  5367.         IsPunct       38; 27,28,30,36     Trim            76; 41,62
  5368.         IsRShift      39; 9,29,31-34
  5369.         IsScroll      40; 9
  5370.                                     Page 84
  5371.  
  5372.  
  5373.                                      Appendix
  5374.  
  5375.       V
  5376.         VidSeg        77; 14,78
  5377.         VidMode       78; 14,77
  5378.        W
  5379.         WPrint        79; 10,75,79,81
  5380.         WPrintC       80; 10,75,29,80
  5381.         WPrintCF      81; 10,19
  5382.         WinColor      82; 2,3,10
  5383.  
  5384.        Z
  5385.         ZoomBox       83
  5386.  
  5387.  
  5388.  
  5389.  
  5390.  
  5391.  
  5392.  
  5393.  
  5394.  
  5395.  
  5396.  
  5397.  
  5398.  
  5399.  
  5400.  
  5401.  
  5402.  
  5403.  
  5404.  
  5405.  
  5406.  
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.  
  5420.  
  5421.  
  5422.  
  5423.  
  5424.  
  5425.  
  5426.  
  5427.  
  5428.  
  5429.                                     Page 85
  5430.  
  5431.  
  5432.  
  5433.  
  5434.  
  5435.                                   Bibliography
  5436.  
  5437.       Advanced Assembly Language;  by  Steven  Holzner  and  Peter Norton;
  5438.       Published by Brady; ISBN 0-13-663014-6
  5439.  
  5440.       Assembly Language Subroutines for  MS-DOS,  2nd  Edition;  by Leo J.
  5441.       Scanlon; Published by Windcrest; ISBN 0-8306-7649-X
  5442.  
  5443.       The BASIC Handbook,  3rd  Edition;  by Davis A. Lien;  Published  by
  5444.       CompuSoft; ISBN 0-932760-33-3
  5445.  
  5446.       Computer Language Magazine; Published by Miller Freeman
  5447.  
  5448.       Dr. Dobb's Journal; Published by M&T Publishing
  5449.  
  5450.       Extending DOS; by  Ray  Duncan,  Charles  Petzold,  M. Steven Baker,
  5451.       Andrew Schulman, Stephen R. Davis, Ross P. Nelson, and Robert Moote;
  5452.       Published by Addison Wesley; ISBN 0-201-55053-9
  5453.  
  5454.       Logitech Mouse User's Manual; Published by Logitech
  5455.  
  5456.       PC Interrupts; by Ralf Brown and  Jim  Kyle;  Published  by  Addison
  5457.       Wesley; ISBN 0-201-57797-6
  5458.  
  5459.       PC Magazine; Published by Ziff-Davis
  5460.  
  5461.       The Programmer's PC  Sourcebook,  2nd  Edition;   by   Thom   Hogan;
  5462.       Published by Microsoft Press; ISBN 1-55615-321-X
  5463.  
  5464.       Programmer's Problem Solver  for  the  IBM  PC,  XT  & AX; by Robert
  5465.       Jourdain; Published by Brady; ISBN 0-89303-787-7
  5466.  
  5467.       The Ultimate DOS Programmer's Manual;  by  John  Mueller and Wallace
  5468.       Wang; Published by Windcrest; ISBN 0-8306-3534-3
  5469.  
  5470.       Undocumented DOS, Second  Edition;  by Andrew Schulman,  Raymond  J.
  5471.       Michels, Jim Kyle,  Tim  Paterson,  David  Maxey,  and  Ralf  Brown;
  5472.       Published by Addison Wesley; ISBN 0-201-57064-5
  5473.  
  5474.       Using Assembly Language, 2nd Edition;  by  Allen L. Wyatt; Published
  5475.       by QUE; ISBN 0-88022-464-9
  5476.  
  5477.       The Waite Group's Turbo Assembler Bible; by Gary Syck;  Published by
  5478.       SAMS; ISBN 0-672-22716-9
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486.  
  5487.  
  5488.                                     Page 86
  5489.