Something is wrong with the debugger or you make an invalid call. For example your user-defined statement has no return value, [None] specified in the statement definition and at the same time the job you are debugging is configured to ignore all errors or in the script you used OnErrorResumeNext call to suppress run-time errors. In such case the "return same_day" call leads to an error and the line is ignored. : This should be an obvious one. : When I step through a script library call in the : debugger, the variable 'same_day' is set to false. : However the statement : return same_day : acts as a no-op. Execution just continues on the : next line. What am I missing? : Thanks, : Steve
|