Re: Wierd Language Syntax idea
- Posted by Robert Craig <rds at EMAIL.MSN.COM> Jun 04, 1998
- 789 views
Daniel and Irv want (for example): {{1,2},{3,4},{5,6}} * {0,1} to give the result: {{0,2},{0,4},{0,6}} instead of an error, like it does now (length 3 != 2) But what if you had: {{1,2}, {3,4}} * {0,1} Now the lengths *do* match 2=2, so currently Euphoria will give you: {{0,0}, {3,4}} Do you guys really want to break existing Euphoria programs and instead get the result: {{0,2}, {0,4}} or would you rather have your new behavior revert back to the old behavior whenever the lengths *just happen* to be the same (by coincidence)? What you are trying to achieve seems legitimate, but I can't accept it in the current form that you propose it. Regards, Rob Craig Rapid Deployment Software