Missing ENDIF

Navigation:  Messages > Macro Compiler Messages > Errors >

Missing ENDIF

Previous pageReturn to chapter overviewNext page

This compiler error will occur if there is no matching endif keyword following an if-else keyword. For example:



   nTemp = WeekdayOf(n_TokenDate)

  if nTemp < 3

   sRESULT = 'Monday or Tuesday'



To prevent this type of errors, always use the method of writing skeleton blocks when using block structures.

Topic 109603 updated on 16-Apr-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?missingendif.htm