Re: EXACT meaning of 2 error messages

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

From what I understand, Euphoria is giving me a "type is expected here" error because it thinks its within the parameter list of a function declaration.

That's not entirely true. The following is a perfectly valid Euphoria program. It does nothing, but it's valid code and it runs and exits immediately.

sequence typo 

As you can see the type is declared first. So when the interpreter sees an identifier it does not recognize its first assumption is, "did you mean to put a type here?"

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu