writemode

Description

writemode is used with the built-in procedure open to specify that the file variable should be opened in write-only mode, and with the built-in procedure popen to specify that the pipe should be opened for writing.

Examples

   open(file_variable, 'filename', writemode); //open for writing

   open(file_variable, 'filename', readmode+writemode); //open for reading and writing

   open(file_variable, 'filename', readmode or writemode); //open for reading and writing

Portability

Operating Systems: All
Standard Pascal: No
writemode