fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

ACCEPT INTRINSICS

Syntax:

ACCEPT FORTRAN 77 INTRINSICS [ONLY] ACCEPT MIL-STANDARD 1753 INTRINSICS [ONLY] ACCEPT FORTRAN 90 INTRINSICS [ONLY] ACCEPT ALL INTRINSICS

Function:

These commands control the set of intrinsic functions which are recognised by fpt. The implications of recognising an intrinsic function are:

  1. Recognised intrinsics are evaluated in static expressions, and are used to determine the values of Fortran parameters. Unrecognised intrinsics are not.
  2. Recognised intrinsics do not require a data type declaration.
  3. Recognised intrinsics are controlled by the case specified by the UPPER CASE INTRINSICS and LOWER CASE INTRINSICS commands. Unrecognised intrinsics are controlled by the UPPER CASE SYMBOLS and LOWER CASE SYMBOLS commands.
  4. fpt reports an error if an intrinsic function name is used for a user-defined symbol. Errors are reported only if the intrinsic name belongs to a recognised set.

When ACCEPT ALL INTRINSICS is specified or is allowed to remain as the default, fpt recognises all Fortran 90 intrinsics, and all intrinsic functions known to the authors, including those defined in extended Fortran 77 for DEC (Now Compaq) VMS, Lahey F77L3, Salford Software FTN77 and Gould-SEL (Now Encore) Fortran for the Concept series.

Acceptance of a specific intrinsic function is may be controlled by the command [NON-]INTRINSIC.

Where to Use this Command

Operating system command line Yes
Configuration file, config.fsp Yes
Specification (fsp) files, *.fsp Yes
Interactively, to FPT> prompt No
Interactive command files No
Embedded in the Fortran code No

Default

ACCEPT ALL INTRINSICS

(Note that defaults may be changed in the configuration file)

See Also

INTRINSIC

Copyright ©1995 to 2024 Software Validation Ltd. All rights reserved.