fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref 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 Yes
Embedded in the Fortran code No

Examples

FPT> set scope file: integ.f

FPT> set scope sub-p: ucar

See Also

FIND

SEARCH

SHOW CURSOR

SHOW SCOPE

TYPE

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