ENDSET


ANSI, NCHAR

 

The ENDSET instruction changes the Form Pointer to the value of the Length Pointer. The instruction uses the following format:

 

 

[label]

ENDSET

{dest}

 

Where:

label

Optional. A Program Execution Label.

source

Required. A previously defined Character String Variable or National Character String Variable whose form pointer is modified.

Flags Affected: NONE

Note the following:

  1. The Form Pointer of {dest} is set to the value of the Length Pointer. The contents remain unchanged.

  2. Enhanced ARRAY processing is supported. If an array is specified (without an index), the ENDSET instruction is performed on each element within the array.

 

 

See Also: Example Code, RESET, Character String Instructions

 



PL/B Language Reference ENCRYPT EXPLODE