|
|
> Le 26.10.2007 17:32, Chambers nous fit lire :
>> Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
>>> Name some. Maybe we don't need an eval()-like function, what we need is
>>> other features so that we never ever need to use eval.
>> I want to tie various strings together using concat() and then evaluate it.
>>
>> This is certainly possible by writing to temporary include files, but it
>> would be simpler (and easier) for the artist to simply call parse (eval is
>> already a keyword).
>>
>>
> What about, then, having 'parse(str)' as a macro (or something else
> ?) which:
> 1/ create a temp file named automatically
> 2/ write str in the file
> 3/ close the temp file
> 4/ include the temp file
>
It already exists on the standard include file strings.inc, called
Parse_String.
Post a reply to this message
|
|