ED top-level constant

String const ED

Erase In Page.

Representation: CSI s \x4A

Parameter default value: s = 0

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, ED causes some or all character positions of the active page (the page which contains the active presentation position in the presentation component) to be put into the erased state, depending on the parameter values:

  • 0 - the active presentation position and the character positions up to the end of the page are put into the erased state
  • 1 - the character positions from the beginning of the page up to and including the active presentation position are put into the erase state
  • 2 - all character positions of the page are put into the erased state

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, ED causes some or all character positions of the active page (the page which contains the active data position in the data component) to be put into the erased state, depending on the parameter values:

  • 0 - the active data position and the character positions up to the end of the page are put into the erased state
  • 1 - the character positions from the beginning of the page up to and including the active data position are put into the erased state
  • 2 - all character positions of the page are put into the erased state

Whether the character positions of protected areas are put into the erased state, or the character positions of unprotected areas only, depends on the setting of the ERASURE MODE (ERM).

Implementation

const String ED = 'J';