13.07.2015 Views

apple-pascal-1.3-manual

apple-pascal-1.3-manual

apple-pascal-1.3-manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

For example, you might press I for Insert, and then typePROGRAM EXAMP;BEGINWRITEC'AN APPLE A DAY'>END.ending each line by pressing RETURN. Accept this insertion by pressingCONTROL-C.Moving the CursorTo edit, you must move the cursor. There are four "arrow keys" on thekeyboard that move the cursor up and down, left and right. You can movethe cursor only when one of these prompt lines is at the top of the screen:Edit, Delete, or Adjust.Apple II or II Plus I If you have an Apple II or an Apple II Plus, see "Cursor Moves" in the nextsection to learn the cursor moves equivalent to the t and i keys on theApple Ile and Ile.The cursor moves vertically without regard to the text on the page;otherwise the cursor will remain in the text of the program. For example,suppose the cursor appears after the Nin BEGIN.PROGRAM EXAMP;BEGINWRITEC'AN APPLE A DAY')END.(Actually, the cursor is "between" the invisible RETURN character thatends every line and the Nin BEGIN.) If you press_,,., the cursor moves tothe win WRITE:PROGRAM EX AMP;BEGINWRITEC'AN APPLE A DAY'>END.Similarly, pressing+-- now moves the cursor back after the Nin BEGIN.If you want to change the third line, WR I TE c 'AN APPLE A DAY'>, toWR r TEC 'AN ORANGE A DAY'>, you must first move the cursor to thecorrect spot.A Walk Through the Editor 11-83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!