Please enable JavaScript to view this site.

 

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

 

For example:

begin
    nTemp = WeekdayOf(n_TokenDate)
    if nTemp < 3
    sRESULT = 'Monday or Tuesday'
         
end

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

 


Topic 109603, last updated on 18-Apr-2020