MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

re: fromliteral()



>>> ;eval("return "+toliteral({1,2,3}))
>>> => "{1, 2, 3}"
>>
>>
>>  This code will actually return a parse error, since there is no ';' at 
>>the end.  The proper code would be:
>>
>>  ;eval("return" + toliteral({1, 2, 3}) + ";")[2]
>
>Actually, no.  $no_one:eval_d does that stuff.

yeah but you were using ;eval() directly, not $no_one:eval_d. And bah on
one-upmanship. Just end this.




Home | Subject Index | Thread Index