Re: [Harbour] :__enumKey()

2010-05-14 Thread Przemysław Czerpak
On Wed, 12 May 2010, Mindaugas Kavaliauskas wrote: 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() > LOCA

[Harbour] :__enumKey()

2010-05-12 Thread Mindaugas Kavaliauskas
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'} ?