FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


SET SCOPE

Syntax:

SET SCOPE FILE [ : <filename> ]

SET SCOPE ALL FILES

SET SCOPE SUB-PROGRAM [ : <sub_prog_name> ]

Function:

Changes the current scope for type find and search commands. If the file or sub-program is not specified, the file or sub-program corresponding to the statement at the cursor is chosen. If the statement is shared by two or more sub-programs, the first sub-program encountered in processing is chosen.

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> set scope file: integ.f

FPT> set scope sub-p: ucar

See also:

FIND

SEARCH

SHOW CURSOR

SHOW SCOPE

TYPE


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