[fpc-pascal] New Warnings with fpc >= 3.2.0

wkitty42 at windstream.net wkitty42 at windstream.net
Wed Mar 11 15:37:31 CET 2020


On 3/11/20 7:51 AM, fredvs via fpc-pascal wrote:
> if (kind = tabulatorkindty(tak_lef)) or (kind = tabulatorkindty(tak_right))
> or (kind = tabulatorkindty(tak_centered)) or (kind =
> tabulatorkindty(tak_decimal)) then
> 
> But I would prefer a shorter way, mainly if the array is big.


admittedly i don't do a lot with pascal these days but wouldn't

   if (kind in tabulatorkindty) then blah

work as desired?


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list where it belongs!*


More information about the fpc-pascal mailing list