PDA

View Full Version : My variables file



toddmaci
01-17-2009, 06:15 PM
Does anyone know how to change the &my_ZzeroStartX , &my_ZzeroStartY on the fly without going into the my_variables file. When I am working on the table I want it to be at 1,1 when I am working on the indexer I want it at 0,0.

Thanks

Todd

toddmaci
01-17-2009, 06:24 PM
I think i got it. Please tell me if I am wrong.
Make a copy of my_variables file with the desired x,y postition and save as new name. Make a new "c2" routine that calls the new my_variable file. Am I on track?

Thanks,

Todd

bill.young
01-17-2009, 07:14 PM
Todd,

That will definitely work, and you can also change your my_variables file so that it zeros at the current x/y location, instead of moving to a specific location every time.

Open your my_variables.sbc file and change those 2 variables to "no", so that they look like this...

&my_ZzeroStartX = no
&my_ZzeroStartY = no

That way you can move to any place that you want to zero, and when you type C2 it will zero there.

Bill

toddmaci
01-17-2009, 07:24 PM
Thanks Bill. Just what I was looking to do.

Todd