Mach3 code (Visual Basic):
- Code: Select all
DoOemButton(216)
Dim I
Dim textLine
Open FileName For Input As #1
//loads file and increments through each line until the end of file is found
While Not EOF(1)
Line Input #1, textLine
I = I + 1
SetuserDro(1202, I)
Wend
Close #1
//writes the end line number to a user dro to be used and displayed elsewhere
Call SetUserDRO(1200,I)
Anyone with any ideas on how to do this in uccnc?