Mike, Mike, Mike, <g>

> I'm using the #run compiler directive to execute AmalgamateFiles.cmd.
> If it fails, it sets the DOS error_level to 1, but I cannot determine
> how to trap that using #run.

RTFM!

If the function succeeds, the SB_ERROR preprocessor symbol value is
zero.

If the function fails, the SB_ERROR preprocessor symbol value is
nonzero.

The compiler can catch the "#run..." exit code in the built-in
"SB_ERROR" compiler variable.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS