Difference between revisions of "Mode iso"

From Free Pascal wiki
Jump to navigationJump to search
Line 1: Line 1:
 +
{{Mode_iso}}
 +
 
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.
 
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.
  
Line 7: Line 9:
 
#  mod operation is as required by ISO pascal.
 
#  mod operation is as required by ISO pascal.
 
# Unary minus is as required by ISO pascal.
 
# Unary minus is as required by ISO pascal.
 
[[Category:Modes]]
 

Revision as of 12:58, 12 November 2016

English (en) français (fr) русский (ru)

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 statement.
  2. files have associated "buffer variables", and "get" and "put" procedures operate on them. This functionality is not present in other modes.
  3. mod operation is as required by ISO pascal.
  4. Unary minus is as required by ISO pascal.