lexcolon

block header should terminate with a COLON

Rule "lexcolon" identifies any block header that does not terminate with a colon. It checks PROCEDURE, FUNCTION, FOR, REPEAT, and DO.

Examples of such headers would be:

FOR EACH customer NO-LOCK. /* Rewrite to FOR EACH customer NO-LOCK: */ 
    DISPLAY customer. 
END. 

PROCEDURE.  /* Rewrite to PROCEDURE: */ 
   MESSAGE 'HELLO'. 
END PROCEDURE. 

This is purely an issue of style, not substance - and in some cases increases readability of the source code.