This compiler error will occur if a call to either the inc/dec operators contains the syntax error mentioned in the error message's title.
For example:
if nRunDate in [6,7]
inc()
dec()
endif
The above highlighted code corresponds to the present error message.
Topic 109627, last updated on 18-Apr-2020