The PRINT command allows procedures to print a line of information made up of numeric and/or string expressions to the user's terminal. Advanced options also allow direct cursor addressing, limited graphics, screen clearing, and the changing of character attributes. With this command, elaborate menus and reports can be generated.
The general form of this command is:
PRINT expression [, expression...]
where [expression] is of one of the following types:
- a numeric expression - a string expression - a format expression - a BOX or BOXCLEAR expression
Example:
print "The square of 4.1 is ", 4.1*4.1 print "DBIC: ", DBIC
Use of a comma "," on a print line, as shown in the example above, denotes a separation between various print expressions. In this way, various print expressions may be intermixed.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.