Re: Improvements
- Posted by Kat <gertie at PELL.NET> Aug 28, 2000
- 498 views
On 28 Aug 2000, at 19:57, Fam. Nieuwenhuijsen wrote: > >It's also _very_ useful to have a more concise notation for referencing > >multiple vars, e.g. > > >with button do > > coords = {10,20} > > size = {400,200} > >end with I used that *very* infrequently, even when i could, in pascal. > Just use one of the syntaxes, not all of them. I don't like the dot nation I do, in vars as well. It's nice to be able to clear a slew of them with unset %weather.* that will clear %weather.time %weather.place %weather.state %weather.city %weather.room %weather.nick etc,,, just not in Eu (yet?). > .. Euphoria programs already have a tendacy to have command lines that are > just a bit tooo long. (for example: x[y][length(p)-2..length(p)] etc) > > But then again, you don't need a new syntax theoretically. Look: > > include button.e > > procedure button_foo (integer x) > foo (x) > end procedure > > include otherfile.e > > procedure otherfile_foo (integer x) > foo(x) > end procedure Made me think,, since we can trace(x) and trace(0) , can we un-include button.e ? include button.e draw( stuff........ ) uninclude button.e include otherfile.e draw( other stuff........) uninclude otherfile.e Both files would be in our exe, but the interpreter or translator would have the name in each place linked only to the last file included. Yep, it's prolly too much of another hack. Kat