home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / MISC / CBT.ZIP / CBT.DOC < prev    next >
Encoding:
Text File  |  1987-02-01  |  28.0 KB  |  832 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                                     CBT
  12.  
  13.                                USERS MANUAL
  14.  
  15.                                VERSION 3.01
  16.                               March 20, 1986
  17.  
  18.  
  19.  
  20.  
  21.                              TABLE OF CONTENTS
  22.  
  23.  
  24.      What is CBT .................................................  1
  25.      Uses for CBT ................................................  1
  26.      List of verbs ...............................................  2
  27.      Variables ...................................................  3
  28.      Modifiers ...................................................  3
  29.      Multi-line statements .......................................  3
  30.      Reserved words ..............................................  3
  31.      Notation used in this manual ................................  4
  32.      Usage of CBT ................................................  5
  33.      Syntax of verbs
  34.        AT ........................................................  6
  35.        BEEP ......................................................  6
  36.        BOX .......................................................  6
  37.        CAPS ......................................................  7
  38.        CENTER ....................................................  7
  39.        CHAIN .....................................................  7
  40.        CLS .......................................................  7
  41.        CURSOR ....................................................  8
  42.        DEBUG .....................................................  8
  43.        DISPLAY ...................................................  8
  44.        DO ........................................................  9
  45.        DUMP ......................................................  9
  46.        ERASE .....................................................  9
  47.        GOSUB ..................................................... 10
  48.        GOTO ...................................................... 10
  49.        HALT ...................................................... 10
  50.        IF ........................................................ 10
  51.        INKEY ..................................................... 11
  52.        INPUT ..................................................... 11
  53.        JOIN ...................................................... 12
  54.        NUM ....................................................... 12
  55.        PAINT ..................................................... 12
  56.        PRINT ..................................................... 12
  57.        REPORT .................................................... 12
  58.        RESTORE ................................................... 13
  59.        RETURN .................................................... 13
  60.        SAVE ...................................................... 14
  61.        SCREEN .................................................... 14
  62.        SET ....................................................... 14
  63.        STORE ..................................................... 15
  64.        TYPE ...................................................... 15
  65.        VERIFY .................................................... 16
  66.        WAIT ...................................................... 16
  67.      Syntax reference chart ...................................... 17
  68. 1
  69.                                 What is CBT
  70.  
  71.  
  72.      CBT  is  a language designed for the easy creation of  Computer  Based
  73. Training.  CBT is intended for use by the non-programmer.
  74.  
  75.  
  76.  
  77.                                Uses for CBT
  78.  
  79.      Programming  Demonstrations  - You  can  use CBT  to  demonstrate  the
  80. operation  of  a  program  without needing to  produce  a  single  line  of
  81. programming code.
  82.  
  83.      Computer  Based  Training  - With  CBT  it  is  not  necessary  for  a
  84. programmer to produce a computer based training program.
  85. 2
  86.                                  VERB LIST
  87.  
  88.   Verb         Action
  89.  
  90.   AT           Position cursor on screen
  91.   BEEP         Sound the alarm
  92.   BOX          Draw a box on the screen
  93.   CAPS         Turn Caps Lock on/off
  94.   CENTER       Center text
  95.   CHAIN        Transfer control to another program
  96.   CLS          Clear screen, or an area on the screen
  97.   CURSOR       Turn cursor on, off, or make it large
  98.   DEBUG        Show each statement as it is being executed
  99.   DISPLAY      Display text on the screen
  100.   DO           Perform another file
  101.   DUMP         Print memory variables on the printer
  102.   ERASE        Erase memory variables
  103.   GOTO         Go to a label in this CBT lesson
  104.   HALT         Stop execution now
  105.   IF           Test memory variable to a value
  106.   INKEY        Accept one character without display
  107.   INPUT        Input text
  108.   JOIN         Concatenate memory variables
  109.   NUM          Turn NUM Lock on,off
  110.   PAINT        Paint an area on the screen with a certain attr.
  111.   PRINT        Send data to the printer
  112.   REPORT       Send a file to the printer
  113.   RESTORE      Read in memory variables saved with save
  114.   RETURN       Return to a calling program
  115.   SAVE         Save all memory variables to a file on disk
  116.   SCREEN       Read .SCR file and display at cursor
  117.   SET          Set operating parameters of CBT
  118.   STORE        Store data to a memory variable
  119.   TYPE         Display data on screen with varying speeds
  120.   VERIFY       Input a string of data, comparing to text
  121.   WAIT         Wait a specified # of seconds
  122. 3
  123.                                  VARIABLES
  124.  
  125.      Variables in CBT are defined as memory boxes.   In CBT you are allowed
  126. 256  such memory boxes.   Each memory box may be 80 characters at the most.
  127. All variables must begin with the character @,  and are numbered from 1  to
  128. 256.  Variable need not be used in numerical order.
  129.  
  130.  
  131.                                  MODIFIERS
  132.  
  133.      In  various  places during the description of each verb you  will  see
  134. what is called a modifier.  A modifier modifies the way text is show on the
  135. screen.  In CBT you are allowed 5 modifiers.
  136.  
  137. Modifier            How modified
  138.  
  139. HIGH                Display text at full intensity
  140. BLINK               Display text blinking
  141. REV                 Display text in reverse video
  142. BLREV               Display text both blinking reverse video
  143. ULINE               Display text underlined
  144.  
  145.  
  146.                            MULTI-LINE STATEMENTS
  147.  
  148.      In  CBT it is permissible to have multiple statements per line.   This
  149. is accomplished by separating each statement with the | character.   Please
  150. note however that a DO statement will be the last statement executed on any
  151. one line.
  152.  
  153.  
  154.                               RESERVED WORDS
  155.  
  156.      In CBT there are two reserved words.  They are FKEY and LENGTH.  After
  157. each  INPUT and INKEY you can determine what key was pressed  to  terminate
  158. the  input  and the length of what was typed in.  LENGTH will  contain  the
  159. length  of the data that was type in.   FKEY will contain the key that  was
  160. used to terminate the input.  FKEY and its values are listed below
  161.  
  162. VALUE          KEY PRESSED            VALUE          KEY PRESSED
  163.   1               F1                    13             ENTER
  164.   2               F2                    14             HOME
  165.   3               F3                    15             UPARROW
  166.   4               F4                    16             PGUP
  167.   5               F5                    17             LFARROW
  168.   6               F6                    18             RTARROW
  169.   7               F7                    19             END
  170.   8               F8                    20             DNARROW
  171.   9               F9                    21             PGDN
  172.   10              F10                   27             ESCAPE
  173.  
  174. 4
  175.                        NOTATION USED IN THIS MANUAL
  176.  
  177.      The notation used in this manual is as follows:
  178.  
  179.           <>        Anything enclosed in these symbols is optional
  180.           [ ]       Anything separated by these symbols means that you have
  181.                     to select one of the options
  182.  
  183. 5
  184.                                USAGE OF CBT
  185.  
  186.      A  CBT  lesson  is nothing more than an ASCII file  on  disk.   If  no
  187. extension  is given,  an extension of .CBT is assumed.   There is a special
  188. file that is REQUIRED for EACH lesson.   That file has the same name as the
  189. lesson,  but an extension of .LAB.  This file contains a reference for each
  190. label in your lesson.   It is created with the program INDEX.   Below is  a
  191. sample running of CBT from the writers standpoint.
  192.  
  193. Create source file
  194. Index source file        INDEX SOURCE
  195. Run source file          CBT SOURCE
  196.  
  197.  
  198.      While  writing  your  CBT lessons it is a good idea  to  re-index  any
  199. lesson that you make a change to.   It is really only necessary to re-index
  200. if you add any labels or lines to a lesson.
  201. 6
  202.                               SYNTAX OF VERBS
  203.  
  204. Verb       : AT
  205.  
  206. Description: Position cursor at line, column
  207.              Line must be between 1 and 25
  208.              Column must be between 1 and 80
  209.  
  210. Syntax     : AT Line,column
  211.  
  212. Examples   : AT 1,1                Position cursor at line 1 column 1
  213.              AT 15,30              Position cursor at line 15 column 30
  214.  
  215.  
  216.  
  217.  
  218. Verb       : BEEP
  219.  
  220. Description: Sound an alarm
  221.  
  222. Syntax     : BEEP
  223.  
  224. Examples   : BEEP                  Sounds the alarm
  225.  
  226.  
  227.  
  228.  
  229. Verb       : BOX
  230.  
  231. Description: Draw a box with the border going from line, col to line1, col2
  232.              with border.
  233.  
  234.              LINE1 is the upper line of the box
  235.              COL1 is the upper left column of the box
  236.              LINE2 is the lower line of the box
  237.              COL2 is the lower right column of the box
  238.              BORDER is the border desired
  239.                0 = no border
  240.                1 = single line border
  241.                2 = double line border
  242.  
  243. Syntax     : BOX LINE1,COL1,LINE2,COL2,BORDER
  244.  
  245. Examples   : BOX 1,1,25,80,0       Draw a box around the entire screen with no
  246.                                    border.  Same as CLS
  247.  
  248.              BOX 1,1,5,10,1        Draw a box with a single line border from
  249.                                    line 1 column 1 thru line 5 column 10.
  250.  
  251.              BOX 5,15,10,80,1 Draw a box with a double line border from
  252.                               line 5 column 15 thru line 10 column 80.
  253.  
  254. 7
  255.                               SYNTAX OF VERBS
  256.  
  257. Verb       : CAPS
  258.  
  259. Description: Turn the CAPS LOCK on or off
  260.  
  261. Syntax     : CAPS [ON,OFF]
  262.  
  263. Examples   : CAPS ON               Turn the CAPS LOCK on
  264.              CAPS OFF              Turn the CAPS LOCK off
  265.  
  266.  
  267.  
  268.  
  269. Verb       : CENTER
  270.  
  271. Description: Center text on a line
  272.  
  273. Syntax     : CENTER LINE,'TEXT'<,MODIFIER>
  274.  
  275. Examples   : CENTER 5,'HELLO'      Center the word hello on line 5
  276.              CENTER 5,'HELLO',REV  Center the word hello on line 5 in reverse
  277.                                    video
  278.  
  279.  
  280.  
  281.  
  282. Verb       : CHAIN
  283.  
  284. Description: Transfer control to FILENAME
  285.  
  286. Syntax     : CHAIN FILENAME
  287.  
  288. Examples   : CHAIN LESSON2         Transfer program control to the file named
  289.                                    LESSON2.CBT
  290.  
  291.  
  292.  
  293.  
  294. Verb       : CLS
  295.  
  296. Description: Clear the screen or any portion of the screen
  297.  
  298. Syntax     : CLS <LINE1,COL1,LINE2,COL2>
  299.  
  300.              LINE1 is the upper line of the area to clear
  301.              COL1 is the upper left column of the area to clear
  302.              LINE2 is the lower line of the area to clear
  303.              COL2 is the lower right column of the area to clear
  304.  
  305. Examples   : CLS                   Clear the entire screen
  306.              CLS 5,1,10,80         Clear the area surrounded by line 5 column
  307.                                    1 and line 10 column 80
  308.  
  309.  
  310.                               SYNTAX OF VERBS
  311.  
  312. Verb       : CURSOR
  313.  
  314. Description: Turn cursor on, off, or create a full block cursor
  315.  
  316. Syntax     : CURSOR [ON,OFF,FULL]
  317.  
  318. Examples   : CURSOR ON             Turn cursor on to IBM default of an under-
  319.                                    line cursor
  320.  
  321.              CURSOR OFF            Turn the cursor off
  322.  
  323.              CURSOR FULL           Turn on a full block cursor
  324.  
  325.  
  326.  
  327.  
  328.  
  329. Verb       : DEBUG
  330.  
  331. Description: Turn debugging on or off
  332.  
  333. Syntax     : DEBUG [ON,OFF]
  334.  
  335. Examples   : DEBUG ON              Turn debugging on
  336.              DEBUG OFF             Turn debugging off
  337.  
  338.  
  339.  
  340.  
  341. Verb       : DISPLAY
  342.  
  343. Description: Display data on the screen
  344.  
  345. Syntax     : DISPLAY <LINE,COL,> ['TEXT',MEMORY BOX,CHR(XXX)] <,MODIFIER>
  346.  
  347. Examples   : DISPLAY 5,1,'HELLO'
  348.                Display the word HELLO at line 5 column 1
  349.              DISPLAY 5,1,'HELLO',REV
  350.                Display the word HELLO at line 5 column 1 in reverse video
  351.              DISPLAY 5,1,CHR(1)
  352.                Display a smiley face at line 5 column 1
  353.              DISPLAY 5,1,@1
  354.                Display the contents of memory box 1 at line 5 column 1
  355.              DISPLAY 5,1,@1,BLINK
  356.                Display the contents of memory box 1 at line 5 column 1 blinking
  357.  
  358.              DISPLAY @1
  359.                Display the contents of memory box 1 at the current line and
  360.                column
  361.              DISPLAY @1,ULINE
  362.                Display the contents of memory box 1 at the current line and
  363.                column underlined
  364.  
  365.                               SYNTAX OF VERBS
  366.  
  367.              DISPLAY 'HELLO'
  368.                Display the word HELLO at the current line and column
  369.              DISPLAY 'HELLO',HIGH
  370.                Display the word HELLO at the current line and column in bright
  371.                video
  372.              DISPLAY CHR(1)
  373.                Display a smiley face at the current line and column
  374.  
  375.  
  376.  
  377.  
  378. Verb       : DO
  379.  
  380. Description: Transfer control to specified file name.  When end of file on
  381.              filename or a return statement is encountered, transfer will
  382.              return to the line following the do statement.
  383.  
  384. Syntax     : DO [ FILENAME | @X
  385.  
  386. Examples   : DO LESSON2            Transfer program control to LESSON2.CBT
  387.                                    When LESSON2.CBT is done, or a return
  388.                                    statement is encountered, control will
  389.                                    return to the file with this do statement,
  390.                                    one line further in the program.
  391.  
  392. Examples   : DO @23                Transfer program control to the filename
  393.                                    contained in memory variable #23.
  394.  
  395.  
  396.  
  397. Verb       : DUMP
  398.  
  399. Description: Dump will print on the print on the printer the following:
  400.                1)   File name and line # dump was call from
  401.                2)   Option text parameter
  402.                3)   ALL memory boxes and their contents
  403.                4)   The current value of FKEY and LENGTH
  404.                5)   All files currently being processed and the
  405.                     line #'s to return to.
  406.  
  407. Syntax     : DUMP <'TEXT'>
  408.  
  409. Examples   : DUMP                  Will dump the above to the printer with no
  410.                                    optional text
  411.  
  412.              DUMP 'Test dump'      Will dump the above to the printer with the
  413.                                    optional text "Test dump" in the header
  414.  
  415.  
  416.  
  417.  
  418. Verb       : ERASE
  419.  
  420. Description: Erase will clear the contents of memory boxes
  421.  
  422. Syntax     : ERASE [ALL,@X <TO @Y>]
  423.  
  424.                               SYNTAX OF VERBS
  425.  
  426. Examples   : ERASE ALL             Erase all memory boxes
  427.              ERASE @1              Erase memory box 1
  428.              ERASE @1 TO @30       Erase memory boxes 1 thru 30
  429.  
  430.  
  431.  
  432.  
  433. Verb       : GOSUB LABEL
  434.  
  435. Description: Transfer control to specified label.  When a return statement
  436.              is encountered, control will return to the line following the
  437.              gosub statement.
  438.  
  439. Syntax     : GOSUB LABEL
  440.  
  441. Examples   : GOSUB GET_ANSWER      Transfer program control to the label
  442.                                    GET_ANSWER.  When a return statement, or
  443.                                    the end of file is encountered, control
  444.                                    will return to the line following the
  445.                                    gosub statement.
  446.  
  447.  
  448.  
  449. Verb       : GOTO
  450.  
  451. Description: GOTO will transfer control to a specified label within the
  452.              CURRENT cbt file
  453.  
  454. Syntax     : GOTO LABEL
  455.  
  456. Examples   : GOTO SCREEN-1         Transfer control in the current cbt lesson
  457.                                    to the label SCREEN-1
  458.  
  459.  
  460.  
  461.  
  462. Verb       : HALT
  463.  
  464. Description: Halts execution of CBT
  465.  
  466. Syntax     : HALT
  467.  
  468. Examples   : HALT                  Stop execution of CBT now
  469.  
  470.  
  471.  
  472.  
  473. Verb       : IF
  474.  
  475. Description: IF provides a way to do simple testing and take action depending
  476.              on the results of the test
  477.  
  478.              NOTE: If a DO command is the selected CBT command, It must be
  479.              the last command to be executed
  480.  
  481. Syntax     : IF [FKEY,LENGTH,@X] [COMPARE] 'TEXT' ANY VALID CBT COMMAND
  482.                                   Compare may be one of the following:
  483.                                    =   equal
  484.                                    >=  greater than or equal
  485.                                    <=  less than or equal
  486.                                    <>  not equal
  487.                                    >   greater than
  488.                                    <   less than
  489.  
  490. Examples   : IF FKEY = 13 GOTO PRESSED_RETURN
  491.                If FKEY is equal to 13 program control will transfer to the
  492.                label PRESSED_RETURN
  493.  
  494.              IF LENGTH = 10 DISPLAY 5,1,'10 CHARACTERS' | GOTO DONE
  495.                If LENGTH is equal to 10, the message 10 CHARACTERS will
  496.                be displayed at line 5 column 1 and program control will be
  497.                transferred to the label DONE
  498.  
  499.              IF @1 = '1' CLS | DISPLAY 'DOING LESSON1' | DO LESSON1
  500.                If memory box @1 is equal to a 1, the screen will be cleared,
  501.                the message DOING LESSON1 will be displayed at the current
  502.                               SYNTAX OF VERBS
  503.  
  504.                line and column, and the CBT file LESSON1.CBT will begin
  505.                execution.
  506.  
  507.  
  508. Verb       : INKEY
  509.  
  510. Description: INKEY will accept one character and execution will continue
  511.              INKEY will NOT display the entered character
  512.  
  513. Syntax     : INKEY <LINE,COL,>@X
  514.  
  515. Examples   : INKEY 5,1,@1          Accept one character into memory box #1
  516.                                    with the cursor at line 5 column 1
  517.  
  518.              INKEY @1              Accept one character into memory box #1
  519.                                    with the cursor at the current line and
  520.                                    column
  521.  
  522.  
  523.  
  524.  
  525. Verb       : INPUT
  526.  
  527. Description: INPUT will accept up to a specified number of characters from
  528.              the operator
  529.  
  530. Syntax     : INPUT <LINE,COL,> LEN,@X
  531.  
  532. Examples   : INPUT 5,1,10,@2       Input up to 10 characters into memory box
  533.                                    #2 at line 5 column 1
  534.  
  535.              INPUT 10,@2           Input up to 10 characters into memory box
  536.                                    #2
  537.  
  538.  
  539.  
  540.  
  541. Verb       : JOIN
  542.  
  543. Description: JOIN is used to combine up to 16 memory boxes into 1 memory box
  544.  
  545. Syntax     : JOIN @1,<@2,...@16>,@17
  546.  
  547. Examples   : JOIN @1,@2,@3,@4,@5   Join memory boxes 1 thru 4 together and
  548.                                    put the result into memory box 5
  549.  
  550.  
  551.  
  552.  
  553. Verb       : NUM
  554.  
  555. Description: Turn the NUM LOCK on or off
  556.  
  557.                               SYNTAX OF VERBS
  558.  
  559. Syntax     : NUM [ON,OFF]
  560.  
  561. Examples   : NUM ON                Turn the NUM LOCK on
  562.              NUM OFF               Turn the NUM LOCK off
  563.  
  564.  
  565.  
  566.  
  567. Verb       : PAINT
  568.  
  569. Description: Paint a portion of the screen in a specified modifier
  570.  
  571. Syntax     : PAINT LINE1,COL1,LINE2,COL2,MODIFIER
  572.  
  573.              LINE1 is the upper line of the area to paint
  574.              COL1 is the upper left column of the area to paint
  575.              LINE2 is the lower line of the area to paint
  576.              COL2 is the lower right column of the area to paint
  577.  
  578. Examples   : PAINT 5,1,10,80,REV   Paint the area from line 5 column 1 to
  579.                                    line 10 column 80 in reverse video
  580.  
  581.  
  582.  
  583.  
  584. Verb       : PRINT
  585.  
  586. Description: Send data to the printer.  Must have a printer on your
  587.              computer.
  588.  
  589. Syntax     : PRINT [PAGE,'text',memory box,CHR(XX)]<;>
  590.  
  591.              PAGE will cause a page advance
  592.              TEXT is any text enclosed in single quotes
  593.              MEMORY BOX is any memory variable
  594.              CHR(XXX) is any value from 0 to 255
  595.              ; will cause the printer to NOT advance to the next line
  596.  
  597. Examples   : PRINT 'Hello'         Print the word hello on the printer
  598.                                    and advance to the next line
  599.  
  600.               PRINT @1;            Print the contents of memory variable
  601.                                    #1 and stay on the same line
  602.  
  603.               PRINT CHR(65)        Print a letter A on the printer and
  604.                                    advance to the next line
  605.  
  606.               PRINT PAGE          Will cause an advance to the next page
  607.  
  608.  
  609.  
  610.  
  611. Verb       : REPORT
  612.  
  613. Description: Send a file to the printer.  Must have a printer on your
  614.              computer.
  615.  
  616. Syntax     : REPORT FILENAME.EXT
  617.  
  618. Examples   : REPORT DOUG.TXT       Print the file 'doug.txt' on the
  619.                                    printer.
  620.  
  621.  
  622.  
  623.  
  624. Verb       : RESTORE
  625.  
  626. Description: RESTORE will restore the memory boxes from a file that what
  627.              created using the SAVE command.  If no extention is used on the
  628.              filename, an extension of .MEM is assumed
  629.  
  630. Syntax     : RESTORE FILENAME
  631.  
  632. Examples   : RESTORE B4MENU        Restore all memory boxes from the file
  633.                                    called B4MENU.MEM
  634.  
  635.  
  636.  
  637.  
  638. Verb       : RETURN
  639.  
  640. Description: RETURN causes an immediate exit from a DO file
  641.  
  642. Syntax     : RETURN
  643.  
  644. Examples   : RETURN                Exit from this DO file now
  645.  
  646.  
  647.  
  648.  
  649. Verb       : SAVE
  650.  
  651. Description:  SAVE  will save all the memory boxes to a disk file can be used
  652.                               SYNTAX OF VERBS
  653.  
  654.              with the RESTORE command.  If no extention is used on the
  655.              filename, an extension of .MEM is assumed
  656.  
  657. Syntax     : SAVE FILENAME
  658.  
  659. Examples   : SAVE B4MENU           Salve all memory boxes to the disk file
  660.                                    called B4MENU.MEM
  661.  
  662.  
  663.  
  664.  
  665. Verb       : SCREEN
  666.  
  667. Description: SCREEN will display the contents of filename at the current
  668.              line and column on the screen.  If no extension is given, it is
  669.              assumed to be .SCR
  670.  
  671. Syntax     : SCREEN FILENAME
  672.  
  673. Examples   : SCREEN MENU           Causes the file MENU.SCR to be displayed
  674.                                    at the current line and column
  675.  
  676.  
  677.  
  678.  
  679. Verb       : SET
  680.  
  681. Description: SET will allow you to control certain operating parameters
  682.              of CBT
  683.  
  684. Syntax     : SET PARAMETER [ON,OFF]
  685.  
  686. Examples   : SET ECHO ON           Causes all characters typed in response
  687.                                    to an input statement to be displayed as
  688.                                    they are typed in.  This is the default.
  689.  
  690.              SET ECHO OFF          Causes all characters typed in response
  691.                                    to an input statement not to be displayed
  692.                                    as they are typed in.
  693.  
  694.                         Valid Parameters
  695. PARAMETER     ON                           OFF
  696. ----------------------------------------------------------------------------
  697. ECHO          Causes entered characters    Entered characters are not
  698.               to be displayed.             displayed.
  699.  
  700. RETURN        Allows the enter key to      The enter key will not be
  701.               terminate input and inkey.   allowed to terminate input and
  702.                                            inkey.
  703.  
  704. ESCAPE        Allows the escape key to     The escape key will not be
  705.               terminate input and inkey.   allowed to terminate input and
  706.                                            inkey.
  707.  
  708. F1 thru F10   Allows the corresponding     Does not allow the corresponding
  709. HOME, UP,     key to terminate input and   key to terminate input and
  710. PGUP, LEFT,   inkey.                       inkey.
  711. RIGHT, END,
  712. DOWN, PGDN
  713.  
  714. FKEYS         Sets all keys on.            Sets just the ENTER key on.
  715.  
  716. AUTOTAB       Enter is not necessary       Must press enter to terminate
  717.               when an input field is       an input statemenu.
  718.               filled.
  719.  
  720.  
  721.  
  722. Verb       : STORE
  723.  
  724. Description: STORE will enter text into a memory box
  725.  
  726. Syntax     : STORE 'TEXT' TO @X
  727.  
  728. Examples   : STORE 'HELLO' TO @1   Put the word HELLO into memory box #1
  729.  
  730.  
  731.  
  732.  
  733. Verb       : TYPE
  734.  
  735. Description: TYPE allows text to be displayed on the screen as if an operator
  736.              were typing it in, character at a time.
  737.  
  738. Syntax     : TYPE LINE,COL,'TEXT',DELAY <,MODIFIER>
  739.  
  740. Examples   : TYPE 10,15,'HELLO TO ALL MY READERS',50
  741.                Display the message HELLO TO ALL MY READERS at line 10 column
  742.                15 with a 50 millisecond delay between characters
  743.  
  744.              TYPE 10,15,'HELLO TO ALL MY READERS',50,BLINK
  745.                Display the message HELLO TO ALL MY READERS at line 10 column
  746.                15 with a 50 millisecond delay between characters with each
  747.                character blinking
  748.  
  749.  
  750.  
  751. Verb       : VERIFY
  752.  
  753. Description: VERIFY is used to make sure the operator types in what you want
  754.              them to type in.  Checking is done on a character by character
  755.              basis.
  756.  
  757. Syntax     : VERIFY LINE,COL,'TEXT',ERROR_MESSAGE,LINE2,COL2
  758.  
  759.                ERROR_MESSAGE is displayed to the operator at LINE2, COLUMN2
  760.                whenever they type a character that does not occure in the
  761.                same spot in 'TEXT'
  762.                The BACKSPACE key may be embedded into text by using a \8
  763.  
  764. Examples   : VERIFY 1,18,'1P3BM54A5DD281506',@1,14,10
  765.                Makes sure the operator types in 1P3BM54A5DD281506 exactly as
  766.                it appears.  The error message that is in @1 will appear at
  767.                line 14 column 10 EVERY time they type in an incorrect
  768.                character
  769.  
  770. Examples   : VERIFY 1,18,'1P3BM54A5DD281506','NO SIR',14,10
  771.                Makes sure the operator types in 1P3BM54A5DD281506 exactly as
  772.                               SYNTAX OF VERBS
  773.  
  774.                it appears.  The error message 'NO SIR' will appear at line 14
  775.                column 10 EVERY time they type in an incorrect character
  776.  
  777.  
  778.  
  779.  
  780. Verb       : WAIT
  781.  
  782. Description: WAIT will suspend execution of the lesson
  783.  
  784. Syntax     : WAIT <TIME>
  785.  
  786. Examples   : WAIT 5                Will suspend execution for 5 seconds
  787.  
  788.                                 SYNTAX OF VERBS
  789.  
  790.              WAIT                  Causes a message 'Press any key to continue'
  791.                                    to appear at the current line and column
  792.                                    and execution will be suspended until the
  793.                                    operator presses any key
  794. 17
  795.                              SYNTAX REFERENCE
  796.  
  797.   Verb         Syntax
  798.  
  799.   AT           AT Line,column
  800.   BEEP         BEEP
  801.   BOX          BOX LINE1,COL1,LINE2,COL2,BORDER
  802.   CAPS         CAPS [ON,OFF]
  803.   CENTER       CENTER LINE,'TEXT'<,MODIFIER>
  804.   CHAIN        CHAIN FILENAME
  805.   CLS          CLS <LINE1,COL1,LINE2,COL2>
  806.   CURSOR       CURSOR [ON,OFF,FULL]
  807.   DEBUG        DEBUG [ON,OFF]
  808.   DISPLAY      DISPLAY <LINE,COL,> ['TEXT',MEMORY BOX,CHR(XXX)] <,MODIFIER>
  809.   DO           DO FILENAME
  810.   DUMP         DUMP <'TEXT'>
  811.   ERASE        ERASE [ALL,@X <TO @Y>]
  812.   GOSUB        GOSUB LABEL
  813.   GOTO         GOTO LABEL
  814.   HALT         HALT
  815.   IF           IF [FKEY,LENGTH,@X] [COMPARE TYPE] 'TEXT' ANY VALID CBT COMMAND
  816.   INKEY        INKEY <LINE,COL,>@X
  817.   INPUT        INPUT <LINE,COL,> LEN,@X
  818.   JOIN         JOIN @1,<@2,...@16>,@17
  819.   NUM          NUM [ON,OFF]
  820.   PAINT        PAINT LINE1,COL1,LINE2,COL2,MODIFIER
  821.   PRINT        PRINT [PAGE,'text',memory box,CHR(XX)]<;>
  822.   REPORT       REPORT FILENAME.EXT
  823.   RESTORE      RESTORE FILENAME
  824.   RETURN       RETURN
  825.   SAVE         SAVE FILENAME
  826.   SCREEN       SCREEN FILENAME
  827.   SET          SET PARAMETER [ON,OFF]
  828.   STORE        STORE 'TEXT' TO @X
  829.   TYPE         TYPE LINE,COL,'TEXT',DELAY <,MODIFIER>
  830.   VERIFY       VERIFY LINE,COL,'TEXT',ERROR_MESSAGE,LINE2,COL2
  831.   WAIT         WAIT <TIME>
  832.