23 Aug
2009
23 Aug
'09
9:56 p.m.
2009/8/22 Kassen
And I will also stipulate that some of my problem may be with the documentation, but seriously how can a language where I can't allocate an array who size is only known at run-time be called friendly?
Well, you can define a length zero array, then do lots of generative stuff while growing it by appending to it. Sadly that is not in the manual, you are right about that. It's just in the VERSIONS file and the examples directory.
Just to be specific: int arr[0]; Std.rand2(0, 20) => arr.size; -- Tom Lieber http://AllTom.com/