KeithWilliams
Registered User.
- Local time
- Today, 00:38
- Joined
- Feb 9, 2004
- Messages
- 137
Hi,
I have a subroutine where I need to know whether SetWarnings was on or off, so I can turn it off if necessary, and restore it to its prior state before returning to the calling script.
In other words, I need to suppress warnings in the subroutine, but not affect the status of warnings in the calling program. Sort of a GetWarnings () function call - but that doesn't exist...
Any help would be much appreciated!
Keith.
I have a subroutine where I need to know whether SetWarnings was on or off, so I can turn it off if necessary, and restore it to its prior state before returning to the calling script.
In other words, I need to suppress warnings in the subroutine, but not affect the status of warnings in the calling program. Sort of a GetWarnings () function call - but that doesn't exist...
Any help would be much appreciated!
Keith.