fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |



!% VOLATILE [:] [:] <symbol> [ , <symbol> ... ]

!% VOLATILE [:] [:] /<symbol>/


Specifies that the named symbol or COMMON block is volatile. fpt uses this information in the usage check (please see CHECK USAGE). The named objects are assumed to be both read and written to.

Symbol or COMMON block names which contain exotic characters such as '%', ':' or '#' (which are all legal on some systems) must be written as quoted strings. If COMMON block names are written in this way the '/' characters must lie outside the quotation marks.

The %VOLATILE command must be written in code within the scope of declaration of the variable or COMMON block. It is introduced by a comment delimiter in column 1 and the character % in column 2.

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




INTEGER*4 I1553_BUFF(0:255) !% VOLATILE :: I1553_BUFF

See Also


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