Runtime evaluation: Difference between revisions

Content added Content deleted
(omit this task from D)
No edit summary
Line 223: Line 223:


println years5</lang>
println years5</lang>


=={{header|J}}==
Use the monad ". to execute a string.

http://www.jsoftware.com/help/dictionary/d601.htm

<lang J>
". 'a =. +/ 1 2 3' NB. execute a string to sum 1, 2 and 3 and assign to noun a
</lang>


=={{header|Perl}}==
=={{header|Perl}}==