Show/Hide Toolbars

XSharp

Keyword {0} missing

 

You may see this error in code that is incomplete, such as IF statements where the ENDIF is missing, or FOR statements where the NEXT keyword is missing.

In most case the error will be clear enough to indicate what the missing keyword is.

Example:

 
FUNCTION Start AS VOID
  LOCAL i AS LONG  
  FOR i := 1 TO 10
     ? i
  RETURN

 

In this example the error message will point to the line that starts with the FOR keyword, since that is the keyword that has a missing end token.