SCULIB_TIDY_LINE

remove tabs and comments from a line

Description:

This routine tidies up a character string and returns its length ignoring trailing blanks. If the returned length is 0 the returned string will be ’’, otherwise it will be equal to the input string truncated at the used length.

The tidying involves:-

Invocation

CALL SCULIB_TIDY_LINE (COMCHAR, LINE, LENGTH)

Arguments

COMCHAR = CHARACTER1 (Given)
the character at the beginning of a comment
LINE = CHARACTER() (Given and returned)
the line to be tidied
LENGTH = INTEGER (Returned)
the length of the string, ignoring trailing blanks

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.