Uh, that's nice! Thanks, I'll give it a try. 

sâmbătă, 13 august 2016, 18:42:04 UTC+2, Daniel O'Malley a scris:
>
> The populateexpression function from MetaProgTools might be helpful. For 
> example, you could do something like:
>
> julia> q = :(x + y + 3)
> :(x + y + 3)
>
> julia> eval(MetaProgTools.populateexpression(q, Dict("x"=>1, "y"=>2)))
> 6
>
> On Saturday, August 13, 2016 at 3:07:38 AM UTC-6, Adrian Salceanu wrote:
>>
>> Thanks, but I don't know what the dict contains, it is user defined. 
>
>

Reply via email to