Hi,
perhaps this is a known issue, but looks like a strange limitation of __enumKey() message. This code could not be compiled because of:
test202.prg(5) Warning W0031 Invalid variable 'XVALUE' for enumerator message
FUNC main() LOCAL xValue FOR EACH xValue IN {'a'=>'A', 'b'=>'B'} ? xValue:__enumKey() ? EVAL({|| xValue:__enumKey()}) NEXT RETURN NIL Regards, Mindaugas _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour