file | : | { filename, terminal} |
Returns: void
Synopsis: If the parameter is the system name terminal, all subsequence output generated by Darwin is sent to the standard output. This is typically the terminal. Otherwise, all subsequent output generated will be appended to the file file. If no file named file exists, Darwin creates such a file.
This functions allows file to specify a path.
Examples:
> AppendFile('~/hallett/bankaccount'); > print('Debit 100000 SFr.'); > WriteFile(terminal);
See also: WriteFile