Language mavens: Is there a programming with "if then else ENDIF" syntax?

steven.oldner steven.oldner at
Tue Nov 17 20:27:06 CET 2009

Along the COBOl line is ABAP, the 4gl language from SAP.

If today = 'Mon'.
  message 'oh boy'.
elseif today = 'Wed'.
  message 'Hump day'.
elseif today = 'Fri'.
  message 'TGIF'.
  message 'get to work'.

The period is the statement teminator. Indentation and separte lines
are just to make it readable.

More information about the Python-list mailing list