-

Lexical Error (LEX0005, LEX0010): '...' expected.

In a textual worksheet (code or data type worksheet), the lexical analysis detected that a comment is not yet closed. This error mostly causes subsequent errors.

The affected code position and all subsequent errors are underlined in the worksheet.

In all textual worksheets, the following comment formats are allowed:

(* comment *)

/* comment */

// single line comment only

The format expected here is mentioned in the error message.

Note
When nesting comments, the closing element must always match the relating opening element.