Re: ATTN Euphoria 4.0 users/testers

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

The new switch syntax has been implemented. The new default is "without fallthru", but can be changed with either "with fallthru" or with a new "fallthru" keyword at the end of a case. Until a new version of the docs are posted, take a look at the source, especially in tests/t_switch.e for examples. Also, the colon is out, and "then" is in. Mulitple cases should be aggregated into a single case statement separated by commas:

    case 1,2,"a" then 

If you build from source, you can't just update to the head and expect everything to work, because the front end uses switches. So you'll need to either wait for eubins to be posted, or follow this upgrade path:

  1. Update to r1631 and build / install
  2. Update to r1634 and build / install

Then you're up to date, as far as switches go, and further updates after that shouldn't be a problem, unless there's some other breaking changes made.

I was away. I am working on eubins right now.

As soon as I get updated myself, I'll post new docs.

Jeremy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu