April 27, 2009 Re: Splitter quiz / survey | ||||
|---|---|---|---|---|
| ||||
On Sun, Apr 26, 2009 at 10:36 PM, Brad Roberts <braddr@puremagic.com> wrote: > Without looking at the docs, code, or compiling and running a test, what will this do: > > foreach(x, splitter(",a,b,", ",")) > writefln("x = %s", a); > choice 4) > x = > x = a > x = b > x = This one. | ||||
April 27, 2009 Re: Splitter quiz / survey | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jarrett Billingsley |
Jarrett Billingsley wrote:
> On Sun, Apr 26, 2009 at 10:36 PM, Brad Roberts <braddr@puremagic.com> wrote:
>> Without looking at the docs, code, or compiling and running a test, what will this do:
>>
>> foreach(x, splitter(",a,b,", ","))
>> writefln("x = %s", a);
>
>> choice 4)
>> x =
>> x = a
>> x = b
>> x =
>
> This one.
+1
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply