Monday, December 10, 2007

How to work with Assign command

How to work with Assign command

To work with Assign command

Description:

Assigns the name of an external file to a file variable.

Declaration:

procedure Assign(var F; Name);

Example:

program Welcome;

var

a:text;

begin

Assign(a,'');

Rewrite(a);

Writeln(a,'standard output...');

Close(a);

end.

No comments: