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.

Exec FilesAn exec file consists of a series of commands stored in a textfile. When anexec file is executed, each command included in the file is executed, just asif you were typing the commands from the keyboard. Exec files are used tostore sequences of commands that must be entered into the system overand over again.This section contains an explanation of exec files and an exampledemonstrating how to create and execute one.Using Exec FilesTo create an exec file, type M for Make exec from the main Command level.The system will prompt you with the messageNew exec name:Type the filename you want to give to your exec file, following the samerules that govern the naming of other Pascal files. Now you will see thepromptTerminator=%, change it?The terminator is a character that is used to signify the beginning and endof an exec file. The terminator character that marks the beginning of thefile is automatically supplied by the system. Two terminator charactersindicate the end of the file, these must be typed by the user. If you answerthe above prompt by typing N for No, the system will use a percent sign as aterminator. If you type v, meaning that you want to change the terminatorcharacter, the system will ask forNew terminator:The character you type becomes the terminator character for that exec file.The % sign is a commonly used terminator. The system will accept anycharacter as the terminator character. Note that some keystrokes do notproduce characters, and thus cannot be used as the terminator character.Do not use control characters as terminators.Il-290Appendix 2E: Making and Using Exec Files

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

Saved successfully!

Ooh no, something went wrong!