Brian,
>
>How about this:
>>object loZipper;
>try
>{
> // etc.
>}
>// etc.
>
>
>~~Bonnie
Hi Bonnie,
That too will cause the compile error:
A local variable named 'loZipper' cannot be declared in this scope because it would give a different meaning to 'loZipper', which is already used in a 'parent or current' scope to denote something else
Plus, I lose the intellisense since the loZipper declaration in scope outside of the try-catch is simply object. I think I'm just going to drop the try-catch all together.
I would think trapping for this kind of thing would be a common need, no?
- Brian
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com