Getting Started for the STAGE2 Novice 3/20/81 Step 1. Print the following files: HELP.DOC USE.DOC INTRO.DOC DEMO.S2M Step 2. Read through INTRO.DOC but do not get bogged down in trying to under- stand it. The idea on this first pass is to become a little familiar with what is there. Step 3. Run STAGE2 using DEMO.S2M for input. A>STAGE2 DEMO.S2M ; make sure printer is on or A>STAGE2 CON:,CON:=DEMO.S2M ; if you do not have a printer STAGE2 error messages go to channel 4 which is defaulted to the list device if nothing is specified on the command line. Step 4. Type the following examples and carefully observe the results. Go through all of the examples once to become familiar with them but do not try to understand what is going on. Then start over and do each example while referring to the listings DEMO.S2M and INTRO.DOC in an effort to understand the operations being performed. Don't get dis- couraged as it may not make sense at first. Perseverance is in order. HELP C0 ABC ; simple copy C1 ABC ; symbol undefined in memory F3 ABC=XYZ ; defines symbol in memory C1 ABC ; symbol now defined - ; note difference from previous C1 F3 ABC=IJK ; new value for ABC in memory C1 ABC S ; next symbol from generator S S C2 ABC ; similar to C1 except if symbol is not ; defined it will be given the next ; value from the symbol generator C2 PDQ S C2 PDQ C4 2+3*(4-7/3) ; expression evaluation C4 PDQ-6 ; will use value of PDQ from memory C4 XXX+3 ; XXX is undefined so value is 0 C4 ABC+3 ; causes error message to channel 4 ; because ABC has non-numeric value ; in memory C5 ABCDEFGHIJK ; length of string C6 MAGIC ; parameter redefinition C7 ONE,TWO;THREE ; scanner operation C8 A C8 B ; internal code for character F1 ; output request F7 2+3 ; count controlled iteration F7 PDQ FE ; error trace back F0 ; terminates - WARM BOOT