This compiler error will occur if there is no matching ] square bracket following an opening [ square bracket.
if nTemp in [3,4
// do something
endif
To prevent such errors, always write both square brackets, [], of the set operator at the same time, and only then go back and fill out the values list inside (this is analogous to the method of writing skeleton blocks when using block structures).
Topic 109631, last updated on 13-Apr-2020