Carriage return suppression ($)

The $ character is used to leave the cursor at the end of the printed line, rather than return it to the beginning of the next line. This feature allows INPUT or ASK statements to request user input starting at any screen position. The $ character must be the last character in the PRINT statement.

Note: Any output EASI does is always to a new line. Therefore, the $ character cannot be used to hold the cursor to allow subsequent output to start at the end of current output. The $ character is only valid if followed by input (i.e., an INPUT or ASK statement) with no associated prompt. Also note that INPUT and ASK have internal default error handling and reprompting which may yield unexpected cursor movement.

Example:

The two procedures shown below may not have the same effect, since the prompt output by the INPUT statement always starts at the beginning of a new line.

   10 LOCAL $A
   20 PRINT @(5,20),"ENTER DATA:  ",$
   30 INPUT $A
   10 LOCAL $A
   20 PRINT @(5,20),$
   30 INPUT "ENTER DATA:  " $A

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.