Treating the abusive unsigned syndrome

bearophile bearophileHUGS at lycos.com
Tue Nov 25 08:47:36 PST 2008


bearophile:
> if (arr.lenght > x) ...

Oh, yes :-) and writing "lenght" instead of "lenght" is a common mistake of mine, usually the code editor allows me to avoid this error because the right one becomes colored. That's why in the past I have suggested something simpler and shorter like "len" (others have suggested "size" instead, it too is acceptable to me).

Bye,
bearophile



More information about the Digitalmars-d mailing list