Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
DB command (DataBasic) (m618704+db.htm)
Provides prompts and selections for editing, compiling, cataloging and running DataBasic programs.
DB {file-specifier {item}}
file-specifier The name of the file. If you do not supply a file-specifier, DB prompts you for the name of the file.
item The item-id of the required item. If you do not specify an item, DB prompts you for the item name.
When you have entered the file and item names, DB displays @
to
prompt you for input. Valid commands are:
RETURNReturn to TCL.
B Update the source with logical indents (using BLIST with options U and S).
C Compile the program using the BASIC command.
CD Compile the program and send the compiler output to the terminal.
CP Compile the program and send the compiler output to printer.
D Run program using the DEBUG command.
E Enter the line Editor to edit the program. If you have specified a new item, the version number is inserted as a comment line at the beginning of the item. In an existing item, the version number is updated. You should delete this line if it is not required; in subroutine items, for example.
L Catalog the program using the CATALOG command.
P Copy the program to the printer.
R Run the program.
S Enters the Screen Editor to edit the program.
SR Perform a SELECT and then run the program. You are prompted for a file name and selection criteria.
SSR As SR, but performs SSELECT.
T commandExecutes the specified TCL command and then returns to @ prompt.
Each of these commands can be followed by any options that are accepted by the TCL command being executed. Refer to the descriptions of the commands concerned for the available options.
:DB
FILE NAME =BP
ITEM NAME =TEST
@E
TOP
.
At this point you can edit the TEST program in file BP. When you exit the Editor, DB returns you to the @ prompt.