Runtime evaluation: Difference between revisions
show argument passing
No edit summary |
(show argument passing) |
||
Line 226:
=={{header|J}}==
Use the monad [http://www.jsoftware.com/help/dictionary/d601.htm ".] to execute a string.
<lang J>
". 'a =
</lang>
Or, use the conjunction [http://www.jsoftware.com/help/dictionary/d310n.htm :] to create various kinds of functions and evaluate them. Arguments have names which as specified by the language definition. For example:
<lang J>(3 : '+/y') 1 2 3</lang>
Rules of scope for such functions match those described on the [[Scope modifiers]] page.
=={{header|Perl}}==
|