Re-hello.

> What must be changed, a new constant should be added at end of the array, 

Lot of work because with this the array must be initialized with tak_none.

But maybe there is now a new fpc trick to write:

--> if (kind <> tabulatorkindty(-1))

That will say "if kind is different of something that is not in the array
tabulatorkindty"

?

PS: Imho, using "-1" was a nice trick and it is sad that it cannot more be
used.

Fre;D




-----
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to