SED - The Screen Based Editor |
![]() ![]() ![]() |
The SED command is a screen based editor, particularly useful for editing QMBasic source programs where many lines (fields) can be seen at once.
Format
SED {{DICT} file.name {record.id ...}}
where
If no file.name 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 record.id is specified and the default select list is active, this list is used to identify the records to be edited. If no record.id is specified and the default select list is not active, SED prompts for the record.id.
An asterisk (*) either on the command line or as the first record.id 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 record.id 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 restricted list of records.
The editor maintains an update lock on the record(s) being edited.
When editing an I-type dictionary item, SED removes the compiled code thus forcing recompilation when the modified I-type is first referenced.
SED Topics
Copying, deleting and restoring data |