FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


RENUMBER LABELS

Syntax:

[DO NOT] RENUMBER LABELS

Function:

FPT renumbers all statement labels in the code. Labels are numbered in ascending order through all files which make up the program. Every label is given a unique number. The numbers start at 1000 and are incremented in steps of 10 if there are fewer than 900 labels, in steps of 5 if there are fewer than 1800 labels, in steps of 2 if there are fewer than 4500 labels, or in steps of 1.

Labels are renumbered automatically during inline expansion or unwinding of loops.

This command may be made interactively, but renumbering is deferred until the user exits from interactive mode.

Where to use this command:

Operating system command line

Yes


Configuration file, config.fsp

Yes


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

Yes


Interactive command files

Yes


Embedded in the Fortran code

Yes


Default:

Labels are not renumbered by default.

Example:

$ fpt "%renumber labels" mds.fsp


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