Euphoria
Ticket #716:
switch statement is not recognized by the interpreter
-
Reported by
jesito
Sep 28, 2011
The Euphoria version used:
C:\Documents and Settings\Administrator>eui -v
Euphoria Interpreter v4.0.0
Windows, Using Managed Memory
Revision Date: 2010-12-22, Id: 115714454200
Even the simple test program in the manual does fail:
switch x with fallthru do
2 case 1 then
3 ? 1
4 case 2 then
5 ? 2
6 break
7 case else
8 ? 0
9 end switch
C:\$TOOLS\EUPHORIA\PROJECTS\JULIO\testswitch.exw:1
switch has not been declared
switch x with fallthru do
^
Press Enter
Details
1. Comment by Lnettnay
Sep 28, 2011
Works fine on OSX (Snow Leopard)
2. Comment by mattlewis
Sep 28, 2011
I believe this has to be some sort of system configuration issue.
3. Comment by jeremy
Sep 28, 2011
Was an environment configuration issue per message:116493
4. Comment by jesito
Sep 28, 2011
TIcket can be closed. It was a wrong Euphoria setup, the scripts were calling the old exw.exe instead of eui.exe. Apologies!. Regards. Jes.