Maybe we don't need foreach ;-)
Bill Baxter
dnewsgroup at billbaxter.com
Mon Oct 30 23:54:09 PST 2006
Walter Bright wrote:
> Bill Baxter wrote:
>> Assuming you mean literally a b and c, it's pretty clear it's got to
>> be a foreach that was intended. There's no reason to stick a variable
>> in either the first or last clause of a standard for.
>
> There is if a and b are function names.
I see. I didn't realize this property stuff extended to plain functions
too. I would be strongly inclined to wedgie anyone who made extensive
use of that feature. :-)
--bb
More information about the Digitalmars-d
mailing list