Commands: Introduction
Overview
The Commands Manual describes the verbs, functions, and variables supported by PRO/5. Each verb, function, or variable is described by syntax, functional purpose, and example. These elements are permanent features of PRO/5. For convenience, PRO/5 verbs, functions, and variables are listed alphabetically.
In the syntax descriptions, upper-case letters and punctuation must be used exactly as they appear in the example. Braces {} indicate optional items, and Italics indicate syntactical elements. The following are the common syntactical elements used in this manual.
Syntactical Elements
|
Parameter |
Description |
|---|---|
|
arglist |
An argument list. |
|
channelno |
Any integer expression in the range 1 to 32767. In some cases, channel 0 is legal. |
|
disk |
A disk drive. |
|
expr |
Any numeric or string expression. |
|
field |
Used to identify a field. |
|
fileid |
Any string expression subject to the rules for file names. |
|
Options within a key segment. |
|
|
index |
Any positive integer expression specifying a record number (or byte) within a file. |
|
int |
Any numeric expression resulting in an integer. There may be a legal range of values, depending on where the integer is used. |
|
keysize |
Maximum length of a key in a file. |
|
len |
Length of a field. |
|
lineno |
Any integer constant in a range of 1 to 65534. |
|
lineref |
Any reference to a line number or label. |
|
num |
Any numeric expression. |
|
numname |
Any numeric variable. |
|
numvar |
Any numeric variable or array element. |
|
offset |
Offset to a field. |
|
precis |
Numeric precision for calculations. |
|
records |
Number of records to be allocated. |
|
recsize |
Size of each record in bytes. |
|
segment |
A key component that can be made up of a single field or part of a field. |
|
string |
Any string expression. |
|
strname |
Any nonsubscripted string variable. |
|
strvar |
Any string variable or subscripted string variable. |
|
var |
Any numeric variable, string variable, subscripted string variable, or single array element. |
|
varname |
Any numeric variable or nonsubscripted string variable. In specified cases, it allows an array [ALL] reference. |
|
verifyoptions |
A list of string and line numbers, optionally followed by minimum and maximum length for a string input, and minimum and maximum value for numeric input. |