Please enable JavaScript to view this site.

ESL Documentation

You can use the following ASCII control characters in strings to be inserted; all other ASCII control characters are ignored.

 

Escape Sequence

Purpose

\t (or \^I)

Tab (Inserts 1-8 spaces, to bring the text cursor to the next tab stop. Tab stops are every 8 columns.)

\b (or \^H)

Backspace (destructive).

\n (or \^J)

Newline (carriage return and linefeed).

 

If you overwrite with a backspace (\b) when the text cursor is at column 1, line 1, nothing will be overwritten, and the text cursor will not move.

Newline characters (\n) specified in an overwrite STRING statement move the text cursor to the next line at the same column it was in at the time the statement was executed, and overwriting continues at that point. For example, the following add to statement:

 

response to ...

    add to Employee_Data

        move to 1 2

        overwrite "Employee\n  Name\n--------"

        move to 16 2

        overwrite "  ID\nNumber\n------"

        move to 31 2

        overwrite " Home\nAddress\n-------"

        move to 46 1

        overwrite " Date\n  of\nBirth\n-----"

 

causes the textual region Employee_Data to display the following:

 

_img309