Check exit code on execution of dmbasic scripts