>As far as the value of the stack pointer changing because of the DIMs - I >believe that variables DIMmed inside ENTERPROCs are actually stored in >global space rather than on the stack. This is what led to the problems >with ENTERPROCs inside include files. Thus DIMing vars inside an >ENTERPROC should not affect the A7 register. I use ENTERPROC/EXITPROC in incl files all the time. The trick is to call some FN before you need the ENTERPROC/EXITPROC so the code resource the incl is in, gets loaded and locked into memory before you get the address of the ENTERPROC/EXITPROC Pete... Check out: http://www.hinet.net.au/~furbies/ In the words of a 'famous' Vulcan: "Long Live And Prosper"