When I actually ran the routine properly, rather than trying through the VLIDE, it turns out that the error wasn't in that section of routine at all <grr>
I've been using R2011, which has a wonderful feature as part of its hatch routine to specify the layer the hatch's going to be inserted on.
This is great, until you have a routine that sets the current to where you want the hatch to go to and freezes off the random layer you had been hatching on!
I'm the only one in the office using R2011 (everyone else uses R2010) so I'm going to have to start a new thread about detecting what version of ACADwin's being run ^_^
Thanks for your help, nevertheless
dJE