Re: New switch/case idea
- Posted by DerekParnell (admin) Mar 31, 2009
- 1892 views
bernie said...
Then you will have to remove &= += -= $ because are not in " keeping with Euphorian type syntax " they are used in "C"
You have a good point. The 'X=' set are all binary operators so they are a bit different to the ':' idea which is just a syntax marker. The '$' is an odd case. It has been adopted because it is a useful shorthand for a very lengthly alternative. The ':'/'::' idea doesn't fit well there either, IMO.