Microsoft KB Archive/32957

[NO]ANS85 Compiler Directive Impacts File Status

PSS ID Number: Q32957 Article last modified on 04-21-1993

3.00 | 3.00 MS-DOS | OS/2

Summary: The [NO]ANS85 compiler directive impacts file status values in the following ways: Example 1 A program compiled with NOANS85 and NOOPTIONAL-FILE directives, OPENs a nonexistent file for I/O. The file status will be 9/13 (i.e., File Not Found). Example 2 A program compiled with NOANS85 and OPTIONAL-FILE directives, OPENs a nonexistent file for I/O. The file status will be 00 (i.e., Successful). Example 3 A program compiled with ANS85 and OPTIONAL-FILE directives, OPENs a nonexistent file for I/O. The file status will be 0/5 (i.e., Successful, system created data file).

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.