>I resorted to the following to build an INIT/CDEV combo, as you run into >similar problems: Thanks, Jamin, but DCOD's are still on my "to learn" list, along with OOP and Tolz resources. I guess I'll stick to good ol' assembler for now. >Just call a LOCAL FN or use ENTERPROC/EXITPROC if you want to play with >your globals, FB seems to set everything up for you. I think the patch has to pass through the globals section of the INIT, actually. This could be wrong. Enterprocs and Exitprocs have always confused me, since you can't see what they're doing to the stack. I like a patch to jump in midstream without doing any playing with the stack. Maybe all one needs to do to access globals from inline assembler is set a pointer somewhere (Chris?). Thanks again, though. ____________ wave (Toronto, Canada) Much better at "OOPS!" programming than OOP programming.