EF top-level constant

String const EF

Erase In Field.

Representation: CSI s \x4E

Parameter default value: s = 0

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, EF causes some or all character positions of the active field (the field 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 field are put into the erased state

  • 1 - the character positions from the beginning of the field up to and including the active presentation position are put into the erased state

  • 2 - all character positions of the field are put into the erased state

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, EF causes some or all character positions of the active field (the field 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 field are put into the erased state
  • 1 - the character positions from the beginning of the field up to and including the active data position are put into the erased state
  • 2 - all character positions of the field 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 EF = 'N';