MiniD 1.0 released!
renoX
renosky at free.fr
Thu Aug 2 11:37:14 PDT 2007
Jarrett Billingsley a écrit :
> "Chris Nicholson-Sauls" <ibisbasenji at gmail.com> wrote in message
> news:f8qrm5$131h$1 at digitalmars.com...
>> ____[ MiniD ]____________________________________
>> |
>> | local x, y ;
>> | // bunch of stuff
>> |
>> | x, y = loadString("
>> | local x, y = varargs ;
>> | // do some dynamic stuff with x and y
>> | return x, y;
>> | ")(x,y);
>> |_________________________________________________
>
> Pretty ingenious idea :D
Well as a workaround for a technical problem, why not, but from a
syntactic point of view, it's not very good (that Perl do it this way is
a good indication that you should avoid it IMHO).
renoX
More information about the Digitalmars-d-announce
mailing list