On 12/17/2013 07:21 PM, bearophile wrote: > But my suggested syntax is not that good, here $ has already a meaning, > that is the whole length of b, So some different idea is needed here :-( > > b[0 .. $] = foo();
Sorry, I can't resist... Golden rule of system programming language syntax: When in doubt, reach for static:
b[0 .. $tatic] = foo(); Done! :p Ali