Ascii() action

Overview
The Ascii action returns part or all of the contents of the screen buffer as text. It uses 0-origin coordinates.

Note: This action is deprecated. The Ascii1 action is preferred.

Parameters
Ascii takes 0, 1, 3 or 4 parameters.

If no parameters are given
The entire screen buffer is returned.

If one parameter is given
The screen text is returned starting with the cursor position.
 * length
 * Number of buffer positions

If three parameters are given

 * row
 * Starting row (0-origin)


 * column
 * Starting column (0-origin)


 * length
 * Number of buffer positions

If four parameters are given

 * row
 * Starting row (0-origin)


 * column
 * Starting column (0-origin)


 * rows
 * Number of rows


 * columns
 * Number of columns

Return value
Screen text, one row per line.

Examples
Return the entire screen buffer, one row per line. Ascii

Return 27 buffer positions, starting at the cursor position. Ascii(27)

Return 80 buffer positions starting at row 2, column 0. (The upper-left corner of the screen is row 0, column 0.) Ascii(2, 0, 80)

Return 8 rows and 40 columns starting at row 2, column 0. (The upper-left corner of the screen is row 0, column 10.) Ascii(2, 0, 8, 40)