'Darc
'1). make a length of groove dro
'2). a number of passes dro
'then put this in a "compile" button: on your main screen or where ever
'you put your dros, this is really just a fancy Teach wizard on the main page.
'*********************************Darcs sub wizard******************
groovelength=getuserdro(*********1)
numberpasses=getuserdro(*********2)
OpenTeachFile "Darcsfile.tap"
Code "(Darcsfile.tap)"
Code "#2=" & groovelength
Code "#3=" & numberpasses
Code "M98 P1 L#3"
Code "M30"
Code "o1"
Code "G90 X0"
code "G91 G1 X#2"
code "G0 Z10"
code "X[#2-[#2*2]]"
code "Z-11"
code "m99"
CloseTeachFile
Call LoadTeachFile()
'******note there is not a call standard layout, since this button is in your main
' mach, not a seperat wizard.
'enjoy scott