I know WriteStr can be used to get the names of enum: WriteStr(s, enumOne)
But should/could it also work on sub-range types of int? Like TGraphicsColor = -$7FFFFFFF-1..$7FFFFFFF; or even TFoo = type integer; _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal