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