Copyright (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

 writedevice

[This is preliminary specification and subject to change.]

Group

Read/Write  (more...)

Type

determ

Syntax

writedevice( FILE SymbolicName)

Flow patterns

(i),(o)

 

Description:

Set or get the current write device
Remarks

(i) - Reassigns the current write device to the file opened with the given SymbolicName. The opened file can be one of the predefined symbolic files or any user-defined file opened for writing, appending, or modifying.
(o) - Binds SymbolicName to the name of the current write device.
The predefined symbolic filenames that can be used for output are:
screen - writing to the messages window
stderr - writing to trace window

Sample:

No sample

Copyright 1997-2013 EDMGROUP (Australia)