commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen J. Butler" <stephen.but...@gmail.com>
Subject Re: Pointers
Date Mon, 03 Jan 2011 19:17:50 GMT
2011/1/3 Stephen J. Butler <stephen.butler@gmail.com>:
> public function foo( ref int a ) { a = 42; }
> public function bar() {
>  int b = 0;
>
>  foo( ref b );
>
>  // b == 42
> }

And excuse my rather bad C# code which doesn't compile... been
spending way too much time in scripting languages lately.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message