Error Messages/42999
Example Error Message
- Lexical error at line 1:
Choice( 'a'..'d', 1)↑- The first parameter, «
I», of Choice must be either an index identifier or the keyword Self.
Put the possible options in an index and use its identifier here, or put the options into the Domain attribute and use the keyword Self.
Description
This error appears when you pass something other than an index identifier or the keyword Self to a parameter that has been declared with the qualifiers Index SelfDomain. This applies to the first parameter of Choice and MultiChoice, and the «domain» parameter of Slider.
In each case, the parameter wants a list of options. In one usage, those options can be listed in an index. In the other, they appear in the Domain attribute and the keyword Self indicates to take them from there.
Comments
Enable comment auto-refresher