Hi all, i am writing a vbScript program for mach3. my code is:
Code("#100 = 1")
If (Code("#100") = 1) Then
MsgBox("true")
Else
MsgBox("false")
End If
when this code is run i get a "false" message box, what am i doing wrong, i am using the system variable because I will need the state of this in another program.