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 nRunDate)
inc(nRunDate
dec nRunDate)
dec(nRunDate
endif
The above highlighted code corresponds to the present error message.
Topic 109620, last updated on 18-Apr-2020