fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

GENERIC

Syntax:

[NO] GENERIC

Function:

Converts intrinsic functions to the generic forms. For example, DSIN, CSIN and CDSIN are all converted to SIN and the data type of the operation is inferred from context by the compiler.

GENERIC is implied by the CHANGE SIZE commands. Conversion may be suppressed by specifying NO GENERIC.

Where to Use this Command

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

Default

NO GENERIC

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

Examples

NO GENERIC is specified on the command line to suppress conversion after the CHANGE SIZE command.

$ fpt turb1 tlib.fsp "%change logical size: 4" "%no generic"

See Also

CHANGE LOGICAL SIZE

CHANGE INTEGER SIZE

CHANGE REAL SIZE

CHANGE COMPLEX SIZE

CHANGE DOUBLE PRECISION TO REAL

CHANGE REAL*8 TO DOUBLE PRECISION

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