Splitter quiz / survey

"Jérôme M. Berger" jeberger at free.fr
Mon Apr 27 11:13:00 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brad Roberts 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);
|
| I'll make it multiple choice:
|
| choice 1)
|   x = a
|   x = b
|
| choice 2)
|   x =
|   x = a
|   x = b
|
| choice 3)
|   x = a
|   x = b
|   x =
|
| choice 4)
|   x =
|   x = a
|   x = b
|   x =
|
	I'd say either 2 or 4.

		Jerome
- --
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn19asACgkQd0kWM4JG3k8Y+QCeM0BJEL+TEPZekPSVRVYK+dOs
eeUAoIxyiSYxqL9AmGSl3rx+nbIlS/bq
=l7H8
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list