FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


BIT PATTERN

Syntax:

!% BIT PATTERN [:] [:] <symbol>

!% BIT PATTERN [:] [:] <string>


Function:

Specifies that the named variable is a foreign data type. FPT uses this information in constructing code to capture the variable when % INSERT RECORD / REPLAY is specified. The named objects are handled as arrays of type INTEGER*1 or BYTE.

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

The % BIT PATTERN 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 a bit pattern.

Example:

SUBROUTINE GET_COLORIMETER(VAL,IERR) REAL*8 VAL ! Real BCD number INTEGER*4 IERR ! Valid when 0 !% BIT PATTERN :: VAL ! Not an IEEE real

See also:

INSERT RECORD / REPLAY


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