:EVAL
Purpose
Evaluates an expression in an external language.
Parameters
- expression
- An expression to be evaluated.
Examples
(:EVAL (:JAVA (org.algernon.test.MiscellanyTest.date1)))
(:EVAL (:LISP (print "hello " ?person)))
(:EVAL (:SHELL "ls -l > $HOME/dir.txt"))
Success criteria
Always succeeds unless an error occurs in the evaluation of the expression.
Failure criteria
Fails only if an error occurs during evaluation of the expression.
Notes
See also the syntax for calling external functions.
Related commands
Back to...
Algernon commands
Algernon Documentation Central
Algernon home page