Re: Multi-assign
- Posted by mattlewis (admin) Nov 16, 2011
- 2582 views
jimcbrown said...
mattlewis said...
jimcbrown said...
mattlewis said...
It has been used at least in some of the euphoria unit tests. Specifically, t_net_dns.e and and t_socket.e.
Matt
That shouldbe fairly easy to fix up if necessary.
Ugh. I'd rather not. I think we'd have to add some special handling in the scanner. I think it's more useful to leave it the way it is.
Matt
Wait, what? Why?
I'm going from memory, but basically, an underscore is a valid symbol character. We used to say that symbols couldn't start with an underscore, but that restriction was removed at some point during 4.0 development. The naked underscore name is just a variable that starts with an underscore, but has no more characters. Maybe not a big deal, and I'm blowing it out of proportion.
I still like the $.
Matt