Since ENDHEADING serves to terminate a heading (which is started by the HEADING keyword), it should not appear before the HEADING keyword. Here is an example of a correct heading:
heading caption = "My heading" endheading
See Also Errors