FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


ADD PARENTHESES TO FUNCTION DECLARATIONS

Syntax:

[DO NOT] ADD PARENTHESES TO FUNCTION DECLARATIONS

Function:

Some systems allow functions without arguments to be declared without parentheses, for example:

FUNCTION ALLOC_AP

The strict Fortran 90 standard requires empty parentheses in such declarations:

FUNCTION ALLOC_AP()

This command systematically adds the parentheses.

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:

Parentheses are not added by default.


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