Ok I added 2 global variables (e.g. outside of the function)
var STARTX;
var STARTY;
I then have this in the function:
STARTX = iGenerateStart_X;
STARTY = iGenerateStart_Y;
I then added a watch for both STARTX and STARTY, start in debug mode, step through each line... nothing... it says "Not Available"


NATIO Released! Check it out at http://mahonroy.home.comcast.net/natio.htm -Matt AMD 1.2 Ghz Thunderbird 512 Meg Ram GeForce 2 Ultra 64 Meg DDR Using A5 Professional