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!*
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to