This compiler error will occur if there is no matching ] brace following an opening [ brace.
if nTemp in [3,4
// do something
endif
To prevent such errors, always write both braces, [], 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