When the FUNCTION ALL INTRINSIC declaration is active at the COBOL program level, using the LENGH OF special register triggers an error "LENGTH" expected instead of this input.
Observed behavior
Expected behavior
Probably the same error at origin but in a different context:
Also note a syntax highlighting issue if the length() function is used without its function prefix:
Development environment used
Problem Description
When the
FUNCTION ALL INTRINSIC
declaration is active at the COBOL program level, using theLENGH OF
special register triggers an error"LENGTH" expected instead of this input
.Observed behavior
Expected behavior
Probably the same error at origin but in a different context:
Also note a syntax highlighting issue if the length() function is used without its function prefix: