Treating the abusive unsigned syndrome
bearophile
bearophileHUGS at lycos.com
Wed Nov 26 05:24:50 PST 2008
Nick Sabalausky:
> Oh, right. For some stupid reason I was forgetting that the param would
> always be an array and therefore be eligible for the existing array property
> syntax (and that .length always returns a uint).
>From the len() code I have posted you can see there are other places where you want to use len(), in particular to count the number of items that a lazy generator (opApply for now) yields.
Bye,
bearophile
More information about the Digitalmars-d
mailing list