While the Progress compiler accepts the following syntax quirks, they shouldn't be used in real code as they are hard to read. Furthermore, they slow down the internal parser, so support could be dropped in the future.
// Abstract methods or method prototypes defined in interfaces can be ended with a colon instead of a period METHOD PUBLIC ABSTRACT VOID mthd1(): // Ending with colon is OK for the compiler METHOD PUBLIC ABSTRACT VOID mthd2(). // Use this syntax: METHOD PUBLIC ABSTRACT VOID mthd1(). METHOD PUBLIC ABSTRACT VOID mthd2().
define variable zz1 as integer.
define variable zz2 as integre.
do zz1 = 1 to 5:
do zz2 = 1 to 10:
message "Msg " + string(zz1 * zz2)
// Period after message statement is optional, as well as the two END of the do statements