◄Dos Unit► ◄Contents► ◄Index► ◄Back► CONST { file access modes } FMClosed = $D7B0; FMInput = $D7B1; FMOutput = $D7B2; FMInOut = $D7B3; Unit: Dos Description The constants for file-access modes are used for testing the Mode field in the TextRec and FileRec types (defined in the Dos unit) after file I/O. Use a variable of either type and the AND operator to compare the field with one of these constants: IF TextRec_variable.Mode = FMInput THEN . . .