Re: Switch question - yet again!

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...

There is a mystery here which I can't explain.

_tom


This started out because I tried to use the stack feature spelled out in section 8.33.
Using the stack type definition causes a different error in the switch statement:
C:\Users\Jesse\Software\Euphoria\lexer\z.exw:16 <0091>:: found variable but expected 'else', an atom, string, constant or enum case op then ^
This in response to using:

  stack op = st:new(FILO)	--create a new stack item 

So, I tried declaring it to be a constant type instead, producing the even worse program crash.

Anyway, thanks for you help.
regards,
jd

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu