[fpc-pascal] Re: What is wrong with this enum and array related code

Honza befelemepeseveze at gmail.com
Sun Sep 12 17:03:14 CEST 2010

2010/9/12 Frank Church <vfclists at 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.


More information about the fpc-pascal mailing list