[nem-en] out / ref

Igor Tkachev it at rsdn.ru
Sun Sep 24 07:39:15 CEST 2006


Hello devel-en,

Example:

Main() : void
{
  mutable n;
  Foo(out n);
}

Foo(n : out int) : void
{
  n = 0;
}

Could we get support for the following:

Main() : void
{
  Foo(_);
}

Sometimes out/ref value is not important and is ignored anyway.
So, this way we could remove this junk from the code.

-- 
Best regards,
 Igor                          mailto:it at rsdn.ru





More information about the devel-en mailing list