2010/9/12 Frank Church <vfcli...@gmail.com>:
> Does that mean that although an enum is an ordinal type, an integer cannot
> be coerced into using it to index an array?

IMO just cast it to the correct type (of the array index) giving the
compiler a chance to accept it.

-- 
bflm
freepascal-bits.blogspot.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to