FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference 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:

No


Interactive command files

No


Embedded in the Fortran code

Yes


Default:

NO GENERIC

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

Example:

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 2014 Software Validation Ltd. All rights reserved.