31.12.2013 Views

TOPS-20 PASCAL Language Manual - Bitsavers

TOPS-20 PASCAL Language Manual - Bitsavers

TOPS-20 PASCAL Language Manual - Bitsavers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USING <strong>PASCAL</strong> ON <strong>TOPS</strong>-<strong>20</strong><br />

8.2 FILE SPECIFICATIONS AND DEFAULTS<br />

A file specification indicates the input file to be processed or the<br />

output file to be produced. File specifications have the following<br />

form:<br />

device:filename.fiJetype.gen<br />

The punctuation<br />

required syntax<br />

specification.<br />

marks<br />

that<br />

(colons,<br />

separate<br />

angle brackets, and periods) are<br />

the various compone~ts of the file<br />

device<br />

directory<br />

identifies the device or file structure on which the file is<br />

stored or is to be written.<br />

filename<br />

identifies the name of the directory under which<br />

catalogued, on the device specified. You can<br />

directory name with angle brackets, as shown above.<br />

the file<br />

delimit<br />

is<br />

the<br />

identifies the file by its name.<br />

to 39 alphanumeric characters.<br />

characters.<br />

The source file name can be up<br />

REL file names can be up to six<br />

filetype<br />

gen<br />

describes the kind of data in the file. The source file type can<br />

be up to 39 alphanumeric characters. REL ffle types can be up to<br />

three characters.<br />

specifies the generation of the <strong>TOPS</strong>-<strong>20</strong> file desired.<br />

Generations are identified by a decimal number, which is<br />

incremented by 1 each time a new generation of a file is created.<br />

A period is used to separate file type and generation.<br />

You need not explicitly state all elements of a<br />

each time you compile, load, or execute a program.<br />

is required, as long as you use the default file<br />

summarizes the default values.<br />

file specification<br />

Only the file name<br />

type. Table 8-1<br />

8-2

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

Saved successfully!

Ooh no, something went wrong!