Descriptions of the following Primary Commands are contained in this section:  





Note:  You can create your own primary-like commands by using the Command Macro facility. You store a series of primary commands in a file and perform them by typing the Macro name. A Command Macro command is entered on the command line just like a built-in primary command. See Macro Support for more information.  


ACTION

Request automatic SAVE be performed

ADD

Add a text line

ALIGN

Align string on a column Boundary

APPEND

Add text to end of lines 

AUTOBKUP

Control backup creation

AUTOCAPS

Control auto-capitalization of language keywords

AUTONAME

Specify an alternate AUTO file name

AUTOSAVE

Control automatic file save defaults

BACKUP

Request a Backup of the current file

BOM

Set BOM writing ON / OFF

BOTTOM

Scroll to bottom of file

BOUNDS

Set edit boundaries

BROWSE

Open a file for browse (read-only) access, no changes allowed

CANCEL

Cancel edit session without file save

CAPS

Set keyboard CAPS mode

CASE

Control default literal case handling

CHANGE

Change a data string

CLIP

Open a new tab using clipboard data (either Windows or a Private clipboard)

CLONE

Open an un-named edit using an existing file

CLS

Clear or Close the SPFLite Debug Window

CMD

Execute another Program or Command

COLLATE

Specify display/sort collating sequence

COLS

Control visibility of top Columns line

COMPRESS

Compress duplicate strings

COPY

Include an external file

CREATE

Create an external file

CRETRIEV

Conditional Retrieve  

CUT

Cut data to the clipboard

DCB

Specify the RECFM, LRECL and EOL together.

DELETE

Delete selected lines 

DIFF

Perform a DIFF file compare between two files

DIR

Display folder containing this file in File Manager

DO

Execute the contents of a DO file

DOWN

Scroll downward in the data 

EDIT

Open a file for editing  

EFT

Edit the Extended File Type Criteria

END

End the edit session

ENUMWITH

Change Increment for Enumerate Functions

EOL

Specify End-of-Line characters. Deprecated - Use DCB.

EXCLUDE

Exclude lines from the display  (Edit mode)

EXCLUDE

Exclude files from the display (File Manager mode)

EXIT

Terminate SPFLite session

FAVORITE

Add current file to a Favorite list

FF

Find in Files

FIND

Find a character string

FLIP

Reverse exclusion status of lines  

FOLD

Display text in Uppercase only

FORMAT

Specify file characteristics

GLUEWITH

Specify a join string for Glue operations

HELP

Display the Help file  

HEX

Set HEX display mode ON or OFF

HIDE

Hide excluded lines

HILITE

Control text highlighting options

IMACRO

Specify a macro to be run immediately after file load

JOIN

Join lines using Find / Change strings

KEYMAP

Display keyboard settings dialog

LC

Lower-case a range of lines

LEFT

Scroll leftward in the data  

LOCATE

Scroll the display to a specified line

LOOPCHECK

Turn loop detection ON or OFF

LRECL

Specify logical Record Length. Deprecated - Use DCB.

MACLIB

Specify a unique Macro library for a Profile

MAKELIST

Create a FILELIST from the current display in File Manager

MARK

Turn MARK lines ON or OFF

MEDIT

Add a file to a Multi-Edit session

MODE

Specify and set the session Edit mode

NDELETE

Delete lines where string is not found

NFIND

Find lines where string is not found

NFLIP

Reverse exclusion status of lines where string is not found

NEXCLUDE

Exclude lines where string is not found

NREVERT

Revert user line status when string not found

NSHOW

Show (unexclude) lines where string is not found

NULINE

Mark User line status when string not found

OPEN

Edit another file in a new session

OPTIONS

Set editor global options

PAGE

Set Profile PAGE mode ON or OFF

PASTE

Paste data from the clipboard  

PREPEND

Add text to the beginning of line(s)

PRESERVE

Control handling of trailing blanks

PRINT

Send selected lines to the printer

PROFILE

Display current file profile values

PTYPE

Enter PowerType mode

QUERY

Display a single Profile setting

RCHANGE

Repeat change

RECALL

Recall (Open) a favorite FILELIST

RECFM

Specify Record Format. Deprecated - Use DCB.

REDO

Redo an UNDO action

RELOAD

Reload current edit file from disk

RENAME

Rename the current edit file

REPLACE

Replace a file

RESET

Reset (Edit mode)

RESET

Reset (File Manager Mode)

RETF

Recall commands in a forward direction

RETRIEVE

Recall previous commands

REVERT

Revert User line status

RFIND

Repeat the find command

RIGHT

Scroll rightward in the data  

RLOC

Repeat last LOCATE command

RLOCFIND

Repeat most recent FIND or LOCATE command

RUN

Directly execute the current Edit script

SAVE

Save data and continue edit

SAVEALL

Save all current tabs

SAVEAS

Save data as a new file and switch to it

SC

Sentence-case a range of lines

SET

Set a command variable

SHOW

Show (unexclude) lines where a string is found

SORT

Sort the edit data

SOURCE

Specify character encoding

SPLIT

Split lines using Find / Change strings

START

Set initial file position option.

STATE

Control edit state saving

SUBARG

Set default SUBMIT arguments

SUBCMD

Set alternate command for SUBMIT

SUBMIT

Pass lines to an external command file

SWAP

Switch to Previous or Next Tab

TABS

Turn TABS on or off  

TAG

Alter TAG status of a selection of lines

TC

Title-case a range of lines

TOP

Scroll to the top of the file

UC

Upper-case a range of lines

ULINE

Mark lines as User lines

UNDO

Undo changes

UP

Scroll upward in the data

VIEW

View a file in read-only mode.

WDIR

Open Windows Explorer for this file folder.

XFORM

Specify a macro to handle external file reading / writing

XSUBMIT

Submit an external file

XTABS

Control handling of incoming tabs

Created with the Personal Edition of HelpNDoc: 5 Reasons Why a Help Authoring Tool is Better than Microsoft Word for Documentation