« Return to Thread: Io N00B - basic questions

Re: Io N00B - basic questions

by Samuel A. Falvo II :: Rate this Message:

Reply to Author | View in Thread

On Tue, Apr 21, 2009 at 2:14 PM, Friedrich Weber
<fred.reichbier@...> wrote:
> myObject setA(123) setB(456) setC(789)
>
> is the same as
>
> myObject a = 123
> myObject b = 456
> myObject c = 789
>
> but shorter :)

myObject do(
  a = 123
  b = 456
  c = 789
)

is shorter still.  ;)

--
Samuel A. Falvo II

 « Return to Thread: Io N00B - basic questions