Re: [xHarbour-developers] Bug in SWITCH statement?

2017-04-24 Thread Enrico Maria Giordano
Il 24/04/2017 21:54, Gerald Drouillard ha scritto: > I believe in xHarbour cVar can only be single character in a switch. Yes, but why? In Harbour there is not that limit. EMG -- http://www.emagsoftware.it http://www.emagsoftware.it/emgmusic http://www.emagsoftware.it/spectrum http://www.emag

[xHarbour-developers] Bug in SWITCH statement?

2017-04-24 Thread Enrico Maria Giordano
Sample: FUNCTION MAIN() LOCAL cVar := "TEST" SWITCH cVar CASE "TEST" END RETURN NIL Error: xHarbour 1.2.3 Intl. (SimpLex) (Build 20170312) Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/ test.prg(6) Error E0059 Invalid SWITCH Constant