03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

The GET Command <strong>CP</strong>/M 3 User's Guide<br />

Table 5-7. GET Options<br />

Option Meaning<br />

ECHO specifies that the input is echoed to the console.<br />

This is the default option.<br />

NO ECHO specifies that the file input is not to be echoed to<br />

the console. The program output and the system<br />

prompts are not affected by this option and are<br />

still echoed to the console.<br />

SYSTEM specifies that all system input is to be taken from<br />

the disk file specified in the command line. GET<br />

takes system and program input from the file until<br />

the file is exhausted or until GET reads a GET<br />

console command from the file.<br />

Examples: A> GET FILE XINPUT<br />

A>MYPROG<br />

The preceding sequence of commands tells the system to activate the<br />

GET utility. However, because SYSTEM is not specified, the system<br />

reads the next input line from the console and executes MYPROG. If<br />

MYPROG program requires console input, it is taken from the file<br />

XINPUT. When MYPROG terminates, the system reverts to the console<br />

for console input.<br />

A>GET FILE XIN2 [SYSTEM]<br />

The preceding command immediately directs the system to get subsequent<br />

console input from file XIN2 because it includes the SYSTEM<br />

option. The system reverts to the console for console input when it<br />

reaches the end of file in XIN2. Or, XIN2 can redirect the system back<br />

to the console if it contains a GET CONSOLE command.<br />

5-45

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

Saved successfully!

Ooh no, something went wrong!