/*
	This simple script just evaluate the given expression and prints the result
	or the error message
*/

address ARCALCPORT
OPTIONS RESULTS
OPTIONS FAILAT 100

PARSE ARG expression
Eval expression
if RC > 0 then
	SAY ARCALC_ERROR

SAY RESULT
