FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


REPEATED

Syntax:

!% REPEATED [:] [:] <symbol>

Function:

Specifies that the named sub-program argument may be repeated an indeterminate number of times. It may be applied only to the last argument in the argument list. FPT uses this information in the argument consistency check (please see CHECK ARGUMENTS).

Names which contain exotic characters such as '%', ':' or '#' (which are all legal on some systems) must be written as quoted strings.

The REPEATED command must be written in code within the scope of declaration of the variable.

Where to use this command:

Operating system command line

No


Configuration file, config.fsp

No


Specification (FSP) files, *.fsp

No


Interactively, to FPT> prompt:

No


Interactive command files

No


Embedded in the Fortran code

Yes


Default:

Not repeated.

Example:

SUBROUTINE plotlines(npts,linea) INTEGER*4 npts ! Number points REAL*4 linea(npts) ! Data to plot !% REPEATED :: linea

See also:

CHECK ARGUMENTS


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