On 14.04.2018 15:16, Ozz Nixon wrote:
following the grammar, I would suggest “in” when trying to do what you want, 
not “is”.

if a in 3..10 then begin

You can overload the IN operator: https://www.freepascal.org/docs-html/ref/refse104.html#x213-23500015.6

According to Jonas, this could make trouble: http://lists.freepascal.org/pipermail/fpc-devel/2017-July/038029.html

IS, however cannot be overloaded.

fpc-devel maillist  -  fpc-devel@lists.freepascal.org

Reply via email to