Error Messages/42998

Example Error Messages

Lexical error at line 1:
IndexLength( ['a', 'b', 'c' ] )
             ↑
Expected an index identifier for «I», the first parameter of IndexLength.
Lexical error at line 1:
Min( x, y, z )
       ↑
Expected an index identifier of «I», the second parameter of Min.

Description

The parameter expects an index identifier. This can be a single identifier such as Month, or it can be a local index syntax such as Projections.Month. In the above examples it is neither. In the first example, it is a list. For that case, the function Size could be used instead. In the second example, the user's intention was to use Min( [x, y, z] ), omitting the parameter so as to take the minimum along the implicit (list) dimension.

Comments


You are not allowed to post comments.