array help.

NA via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 8 10:56:11 PDT 2014


Hi,

I have the following array.

[
	[
		[],
		[],
		[[0, 1] [0, 2]],
		[[0, 0] [0, 3]]
	]

	[
		[],
		[],
		[[1, 1] [1, 2]],
		[[1, 0] [1, 3]]
	]
]

and would like it to be arranged like

[
	[
		[[0, 1] [0, 2]],
		[[0, 0] [0, 3]],
		[],
		[]
	]

	[
		[[1, 1] [1, 2]],
		[[1, 0] [1, 3]],
		[],
		[]
	]
]

Any ideas welcome.

NA


More information about the Digitalmars-d-learn mailing list