# LEN()

Syntax:

Then: LEN(f)

Where "f "is a dummy or real field.

Version Ref: 3.x

Description:

LEN returns the length of the field if one is assigned. In the case of a dummy field, if no length is assigned, LEN will return the length of its contents. LEN can be used on all processing tables, on both the condition and action lines.

Examples:

The following assigns dummy field aa to have a length of field 5 and the "*" edit type.

Then: aa(len(5),*)

Fill the dummy field bb with the length of field 5.

Then: bb=len(5)

If the length of field 5 is 20, the contents of dummy field bb will also be 20.