FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


UP

Syntax:

UP [ <integer> ]

Function:

Moves the interactive cursor upwards by the specified number of lines.

Types the code from w1 lines above the cursor to w2 lines below it, where w1 and w2 are the values set by the WINDOW command.

If no argument is specified, the cursor is moved upwards to display a range of w1+w2+1 lines so that there is a one line overlap between the last and the current section of code displayed.

The command DOWN moves the cursor downwards.

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> win 5:5

Sets window range to 5 lines above and below the cursor

FPT> type file: massmat.for 40

Moves the cursor to line 40 and displays lines 35:45

FPT> up

Moves the cursor to line 30 and displays lines 25:35

See also:

DOWN

TYPE

WINDOW


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