MocLineLen

Controls output buffer length

Description:

This attribute specifies the maximum length to use when writing out text through the sink function supplied when the MocChan was created.

The number of characters in each string written out through the sink function will not be greater than the value of this attribute (but may be less). The default value is 80.

Note, the default value of 80 may not be appropriate when a MocChan is used within Fortran code. In this case, MocLineLen should usually be set to the size of the CHARACTER variable used to receive the text returned by AST_GETLINE within the sink function. This avoids the possibility of long lines being truncated invisibly within AST_GETLINE.

Type:
Integer.

Applicability

MocChan
All MocChans have this attribute.