[fpc-pascal] Can freepascal use negative enum values

Marco van de Voort marcov at stack.nl
Sat Sep 11 23:51:08 CEST 2010


In our previous episode, Frank Church said:
> 
> type
>   anyType = ( a:= -10, b, c,d,e) so that b,c,d,e are -9 to -6 ?


Why not simply try? The above code is ok, except it is = not := (it is a
constant, not an assignment, so =)



More information about the fpc-pascal mailing list