Re: ATTN Euphoria 4.0 users/testers
- Posted by bernie Apr 01, 2009
- 1062 views
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:
- Update to r1631 and build / install
- Update to r1635 and build / install -- corrected this SVN number bernie
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.
Matt:
I don't understand your instructions ?
Does the word 'head' mean trunk ?
Are you saying update to SVN 1631 and build binaries.
Now what do you mean by install ????
What is purpose of updating SVN 1635 and building binaries ????
Now what do you mean by install ????
I know you understand perfectly what your instructions are trying to accomplish but the instructions have no detailed purpose.
Remember everyone's system may not be setup the same way your is.