next up previous contents
Next: Nucleic, Amino Acid and Up: Input and Output Functions Previous: Store Key

Write to a File

Calling Sequence:
WriteFile(
filename)
WriteFile(terminal)
Parameters:
filename : name
terminal : a built-in Darwin name

Synopsis: If filename is given as the parameter, WriteFile will open a file named filename and send all subsequent output directed towards the standard output into this file.

If filename already exists, it is overwritten.

If terminal is specified, all subsequent output is directed back towards the standard output (typically the monitor).

Examples:

> WriteFile('~hallett/Book/mainfile');  
> print('A quick way to create a lot of work for myself');
> WriteFile(terminal);

See also: AppendFile


AC() AddGrid CompressGrid CreateGrid CloseGrid FlushGrid

grid MapGrid OpenGrid GetNextGrid QueryGrid AllQueryGrid UncompressGF NucID CreateAcGrid CreateSpGrid

PatEntry

SpToDarwin DbToDarwin Entry GetEntryInfo GetEntryNumber ReadFasta ReadMSA ReadMap ReadMsa ReadPima ReadPir Sequence String Offset



Gaston Gonnet
1998-09-15