FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


EVALUATE

Syntax:

EVALUATE <expression>

Function:

Evaluates the static expression. The expression may be integer, real, double precision or complex.

Where to use this command:

Operating system command line

No


Configuration file, config.fsp

No


Specification (FSP) files, *.fsp

No


Interactively, to FPT> prompt:

Yes


Interactive command files

No


Embedded in the Fortran code

No


Example:

   FPT> ev 2**18
 
         Integer value:  262144
 
   FPT> eval 1.3227 * 8.273273
 
         Real value:   0.1094305819710000E+02


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