Runtime evaluation: Difference between revisions

Content added Content deleted
m (added Caché ObjectScript)
Line 200: Line 200:


(also note the fallback to ''.+'' from ''?+'').
(also note the fallback to ''.+'' from ''?+'').

=={{header|Caché ObjectScript}}==

The 'XECUTE' command performs substantially the same operation as the '$XECUTE' function, except the latter must specify a return value.
{{out|Examples}}
<pre>
USER>Set cmd="Write ""Hello, World!"""
USER>Xecute cmd
Hello, World!

USER>Set fnc="(num1, num2) Set res=num1+num2 Quit res"
USER>Write $Xecute(fnc, 2, 3)
5
</pre>


=={{header|Common Lisp}}==
=={{header|Common Lisp}}==