statement/CMD statement/CMD NAME CMD -- Redirects output ABBREVIATION c <shift> M SYNOPSIS CMD <l_file>[,<w_list>] FUNCTION CMD sends the output which normally would go to the screen (i.e. PRINT statement, LISTs, but not POKEs into the screen) to another device instead. This could be a printer, or a data file on tape or disk. This device or file must be OPENed first. The CMD command must be followed by a number or numeric variable referring to the file (<l_file>). INPUTS <l_file> - logical file number <w_list> - UNKNOWN ARGUMENT! RESULT Redirects output. EXAMPLES 10 OPEN 1,4 20 CMD 1 30 LIST 40 PRINT#1 50 CLOSE 1 Line 10: OPENs device number 4, which is the printer. Line 20: All normal output now goes to the printer. Line 30: The LISTing goes to the printer, not the screen - even the word READY. Line 40: Set output back to the screen. Line 50: Close the file. NOTES None BUGS None SEE ALSO None