Gram, You are right. I'll fix the code. I'd been thinking the code was structured differently than it is, and didn't truly _see_ what was there until I read your gdb.log. Thank you for your persistence. David