8.6.10.4.3 Eval Function

Syntax

eval (expression)

Description

The eval function executes its argument as a DOS command and returns the numeric value of the return code of the executed command.

Example

if eval ("rptrm mytest~report1") != 0

echo "Unable to remove mytest~report1"

endif