Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: salttank on June 21, 2020, 01:08:41 AM
-
i'm getting syntax error while tryng to compile this code. please help!
If GetVar(Param1()) <> Param2() Then
Code("M98 P") & Param3()
End If
-
Perhaps
If GetVar(Param1()) <> Param2() Then
Code ("M98 P" & Param3())
End If
-
you do not Need the Getvar
If Param1() <> Param2() Then
Code ("M98 P" & Param3())
End If
-
you do not Need the Getvar
If Param1() <> Param2() Then
Code ("M98 P" & Param3())
End If
That does it, thank you ;D
-
I would like the machine to automatically move to the x500 y500 position after pressing REF. What should my script look like?
sorry for my English. I hope you understand what's going on
-
Do you mean, after referencing machine clicking on Ref All Home, to move to 500, 500?