TURBO PASCAL |
Новости
|
19: How do I redirect text from printer to file in my TP program?A: Simple. This is done in Turbo Pascal by using the assign command (think what the word 'assign' implies). Here is a simple example of the idea. uses Printer; begin assign (lst, 'printer.log'); rewrite (lst); writeln (lst, 'Hello world'); close (lst); end. |
(с)Все права защищены По всем интересующим вопросам прошу писать на электронный адрес |