home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / SIMTEL / CPMUG / CPMUG051.ARK / HELP.DOC < prev    next >
Text File  |  1984-04-29  |  2KB  |  62 lines

  1.         Getting Started for the STAGE2 Novice
  2.                                 3/20/81
  3.  
  4. Step 1.    Print the following files:
  5.         HELP.DOC
  6.         USE.DOC
  7.         INTRO.DOC
  8.         DEMO.S2M
  9.  
  10. Step 2.    Read through INTRO.DOC but do not get bogged down in trying to under-
  11.     stand it.  The idea on this first pass is to become a little familiar
  12.     with what is there.
  13.  
  14. Step 3.    Run STAGE2 using DEMO.S2M for input.
  15.         A>STAGE2 DEMO.S2M        ; make sure printer is on
  16.             or
  17.         A>STAGE2 CON:,CON:=DEMO.S2M    ; if you do not have a printer
  18.  
  19.         STAGE2 error messages go to channel 4 which is defaulted to
  20.         the list device if nothing is specified on the command line.
  21.  
  22. Step 4.    Type the following examples and carefully observe the results.  Go
  23.     through all of the examples once to become familiar with them but do
  24.     not try to understand what is going on.  Then start over and do each
  25.     example while referring to the listings DEMO.S2M and INTRO.DOC in an
  26.     effort to understand the operations being performed.  Don't get dis-
  27.     couraged as it may not make sense at first.  Perseverance is in order.
  28.  
  29.         HELP
  30.         C0 ABC            ; simple copy
  31.         C1 ABC            ; symbol undefined in memory
  32.         F3 ABC=XYZ        ; defines symbol in memory
  33.         C1 ABC            ; symbol now defined -
  34.                     ;   note difference from previous C1 
  35.         F3 ABC=IJK        ; new value for ABC in memory
  36.         C1 ABC
  37.         S            ; next symbol from generator
  38.         S
  39.         S
  40.         C2 ABC            ; similar to C1 except if symbol is not
  41.                     ;   defined it will be given the next
  42.                     ;   value from the symbol generator
  43.         C2 PDQ
  44.         S
  45.         C2 PDQ
  46.         C4 2+3*(4-7/3)        ; expression evaluation
  47.         C4 PDQ-6        ; will use value of PDQ from memory
  48.         C4 XXX+3        ; XXX is undefined so value is 0
  49.         C4 ABC+3        ; causes error message to channel 4
  50.                     ;   because ABC has non-numeric value
  51.                     ;   in memory
  52.         C5 ABCDEFGHIJK        ; length of string
  53.         C6 MAGIC        ; parameter redefinition
  54.         C7 ONE,TWO;THREE    ; scanner operation
  55.         C8 A
  56.         C8 B            ; internal code for character
  57.         F1            ; output request
  58.         F7 2+3            ; count controlled iteration
  59.         F7 PDQ
  60.         FE            ; error trace back
  61.         F0            ; terminates - WARM BOOT
  62.