Difference between revisions of "Mode iso"

From Free Pascal wiki
Jump to navigationJump to search
(Start to describe iso mode.)
 
(adding compliance statement.)
Line 1: Line 1:
The mode '''ISO 7185''', switched on with '''{$mode iso}''', is compliant to Standard Pascal as described in ISO 7185.
+
Starting with version 3.0.2, the mode '''ISO 7185''', switched on with '''{$mode iso}''', of fpc complies with the requirements of level 0 and level 1 of ISO/IEC 7185.
  
 
Using mode iso has the following special features:
 
Using mode iso has the following special features:
  
# external files are declared in the program heading.
+
# external files are declared as parameters in the program heading.
 +
# files have associated "buffer variables", and "get" and "put" procedures operate on them. This functionality is not present in other modes.
  
 
[[Category:Modes]]
 
[[Category:Modes]]

Revision as of 00:25, 9 June 2016

Starting with version 3.0.2, the mode ISO 7185, switched on with {$mode iso}, of fpc complies with the requirements of level 0 and level 1 of ISO/IEC 7185.

Using mode iso has the following special features:

  1. external files are declared as parameters in the program heading.
  2. files have associated "buffer variables", and "get" and "put" procedures operate on them. This functionality is not present in other modes.