Contents | Prev | Next

4.2.43 readmode

Description

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

Examples

   open(file_variable, 'filename', readmode); //open for reading

   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

Contents | Prev | Next