What I'm doing wrong?
- Posted by jesito Sep 28, 2011
- 1187 views
Hello,
I'm trying to run a program that does include a switch statement. The interpreter flags "switch" as not defined:
fblength = length(fbuffer) j = k = 1 filetable = {} filename = {} for i=1 to fblength do c = onefetch(fbuffer,i) switch c do case '\10' then filetable[j] = filename k = 1 filename = {} case else append (filename[k], c) end switch end for
And the interpreter says:
C:\$TOOLS\EUPHORIA\PROJECTS\JULIO\0.Prefiltro.exw:109 switch has not been declared switch c do ^
I'm getting mad... Any help would be very appreciated. Thanks in advance. Regards. Jes.