evaluateWithErrorChecking

This runs a script program and prints the appropriate error message when a script exception is caught. A lot of extra code is added to capture the result of the previous expression, but all one really needs is a call to evaluate or evaluateFile and runVMFibers call surrounded by a try-catch.

void
evaluateWithErrorChecking
(
Terminal* term
,,
in string source
,
in string fileName
)

Meta