Re: Ideas for next Eu

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello

Pete King wrote:
>My idea is applicable where you only want one result returned from a
>function that supplies multiple results... you would have to discard the
>ones you dont want otherwise, with my idea the compiler would do this.
>
>Maybe its not so great an idea, just thought I would contribute.

This is an excellent suggestion IMO. For those who want a specific
example, here's one I have seen before.

----- code ---------
include get.e
constant
  err = 1,
  val = 2,
  string = "{1,2,3}"
? value (string)[val]
--------------------

later,
Lewis Townsend

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu