| Index Level | PRINTCHAR |
| Syntax | PRINT ON print.file.number print.expression |
| Category | BASIC |
| Type | Statement |
| Description |
directs output to one of a number of open print files.
On D3, 100 print files may be opened at one time. The range of the "print.file.number", however, is between 0 and 32767. The "print.file.number" has no connection to Spooler print file numbers. This number is logical and local to the current program and is used to group output. Each logical "print.file.number" is assigned the next available spool job number, so it is possible to have the statement "print on 1 answer" output to job #3 and "print on 2 string" output to job #30. |
| Options | |
| See Also | statements & functions CRT PRINTER pfile sp-assign PRINT , (comma) |
| Example | print on 0 oconv(chk.dt,"d2/") "l#9":amt "r2*20" |
| Warnings | |
| Compatibility | D3 7.0 AP R83 |
| Index Level | PRINTCHAR |