TITLE

    Lisa Pascal: Printing text from a program

Article ID:
Author:
Created:
Modified:

1316

10/21/85
10/21/85


TOPIC


DISCUSSION


    Here is an example illustrating printing from a Pascal program:

    program Print__Output;
    var OutFile: text;

    begin
    Rewrite (OutFile, '-printer'); {Declare the printer as a file named OutFile}
    Writeln (OutFile, 'This is a test.') {Output goes to the printer}
    Close (Outfile) {Close the file "printer"}
    end. {Print_Output}


EXTENDED Information section - Apple Internal Use - Service Providers and Support Professional



APPLE EYES ONLY Information section - Apple Need-To-Know Confidential



Article Change History: