Craig Torell <[EMAIL PROTECTED]> wrote:
> Int16 a = 1;
> Int16 b;
>
> ErrTry
[...]
> ErrCatch(err)
> {
> // Here, a is now 1, and b is garbage, as if they had been
> reinitialized
Reread what ErrorBase.h says about declaring your variables as volatile.
John "Yuck. You have to use volatile? Sounds like a good reason
not to use ErrTry... :-)"
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- ErrCatch obscures local vars? Craig Torell
- Re: ErrCatch obscures local vars? John Marshall
- Re: ErrCatch obscures local vars? Craig Torell
