Unofficial wish list status.

Xinok xnknet at gmail.com
Wed Feb 28 21:14:14 PST 2007


On First / On Last, I'm thinking we could make use of the 'in' and 'out' 
keywords for this, something like with functions:

foreach(arg; arr)
in{
}
out{
}
body{
}

for the 'in' block, arg[0] would be used.
for the 'out' block, arg[length-1] would be used.

4tuu4k002 at sneakemail.com wrote:
> 57  Improved Foreach



More information about the Digitalmars-d mailing list