This compiler error will occur if a string variable is used with the membership operator and a range operator using strings.
For example:
if sTemp in ['22'..'33']
endif
Note however, that the following is perfectly allowed.
if sTemp in ['22','33','44']
endif
The cause of this error is not the use of strings with the membership operator (this is allowed as seen above), but the use of strings in the range [..] operator.
Topic 109019, last updated on 18-Apr-2020