1. Re: 2.6 feature request: foreach (off topic)
Kat wrote:
>
> > David Cuny's wxBasic
> > <a
> > href="http://wxbasic.sourceforge.net/">http://wxbasic.sourceforge.net/</a>
>
> I like DavidC's basic in the way it can return multiple values, something we
> asked RDS for also. Oh well, we can jump thru hoops to get around that
> too. We lost David from here because RDS would not grow Euphoria.
It's not that hard, just return a sequence containing each value you want
returned.
While somethne like
success, val = value(string)
might (theoretically) sound like a good idea to implement if you're interested
in only a specific value (say val) you need to copy the sequence over anyways
(like we do now) or use some syntax that'll probably be butt-ugly like
,,z = get_coords()
or like in Perl
($_, $_, $x) = get_coords()
With sequences as powerful as they are this is pretty useless and makes the code
look ugly and confusing.