fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
LINE NUMBERING
Syntax:
NUMBER LINES LINE NUMBERING [ON] LINE NUMBERING OFF
Function:
Turns line numbering on or off for the interactive display of code. Lines are numbered from the start of the current file, or from the start of the current sub-program, depending on the way in which the code is examined. The file or sub-program scope is determined by the TYPE and SEARCH commands.
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 | No |
Default
Line numbering is turned on by default. (Note that defaults may be changed in the configuration file)
Examples
In an interactive session:
FPT> lin numb on FPT> t 42:45 42 REAL*4 A(3),C(3),DC(3) 43 ! Set up new integrals 44 DO I=1,3 45 A(I)=C(I)+DC(I)*DT 45 >> ENDDO FPT> lin numb off FPT> t 42:45 REAL*4 A(3),C(3),DC(3) ! Set up new integrals DO I=1,3 A(I)=C(I)+DC(I)*DT >> ENDDO FPT>
See Also
Copyright ©1995 to 2024 Software Validation Ltd. All rights reserved.