SED  -  The Screen Based Editor

Top  Previous  Next


The SED command is a screen based editor, particularly useful for editing QMBasic source programs where many lines (fields) can be seen at once.









DICTindicates that records from the dictionary portion of the file are to be edited.


file.nameis the name of the file holding the record(s) to be edited.


record.idis the name of the record to be edited. Multiple record names may be specified.


If no is specified, SED will prompt for this name. The response may include a prefix of DICT to select the dictionary portion of the file.


If no is specified and the default select list is active, this list is used to identify the records to be edited. If no is specified and the default select list is not active, SED prompts for the Use of CREATING.SEQKEY instead of a record id automatically generates the next sequential key for the file.



An asterisk (*) either on the command line or as the first entered in response to the prompt will cause SED to select all records of the file and edit each in turn.


A question mark (?) as the first entered in response to the prompt (not on the command line) causes direct entry in explore mode, displaying a list of records in the file. The ? character may be followed by a single space and a selection template as described under the list records function to produce a filtered list of records.


The editor maintains an update lock on the record(s) being edited.


When editing a compiled dictionary item (C-type, I-type, or A/S type with a correlative), SED removes the compiled code thus forcing recompilation when the modified item is first referenced in a query.


To allow SED to be used internally from within applications without reducing system security, if the editor is started from a V-type VOC item that has E in field 4, the user is restricted to editing records specified on the command line and also cannot execute QM commands from within the editor.



SED Topics


Records, Buffers and Windows

Standard key bindings

Cursor movement and search functions

Data insertion

Copying, deleting and restoring data

Working with multivalued data

Functions that operate on a block of data

Changing text


File Handling

Repeating functions

Miscellaneous functions


Setting up default modes

Source control

Dynamic key bindings

Extension programming