LENSET


ANSI, NCHAR

 

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

 

 

[label]

LENSET

{dest}

 

Where:

label

Optional. A Program Execution Label.

dest

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

Flags Affected: NONE

Note the following:

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

  2. Enhanced ARRAY processing is supported in that if an index is not specified, the LENSET instruction is performed on all elements within the array.

 

 

See Also: Example Code, SETLPTR, Character String Instructions

 



PL/B Language Reference LCMOVE LOAD