DAT_CLEN

Obtain character string length

Description:

The routine returns the number of characters required to represent the values of a primitive object. If the object is character-type, then its length is returned directly. Otherwise, the value returned is the number of characters required to format the objects values (as a decimal string if appropriate) without loss of information.

Invocation

CALL DAT_CLEN( LOC, CLEN, STATUS )

Arguments

LOC = CHARACTER  ( DAT__SZLOC ) (Given)
Primitive object locator.
CLEN = INTEGER (Returned)
Character string length.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: