harrisoncw
Member
Good day all.
I am having a problem with the language when writing a macro. I am trying to set a string value to a word value. I have tried many combinations without any success. This is how I have been writing it. “ If ( Tag1=130) then (Set Tag2 = "Guard open") Else If ( Tag1=131) then (Set Tag2= "Belt off") Else Tag1 ”.
Is it possible to write it this way or is there a better way
Thanks
Craig
I am having a problem with the language when writing a macro. I am trying to set a string value to a word value. I have tried many combinations without any success. This is how I have been writing it. “ If ( Tag1=130) then (Set Tag2 = "Guard open") Else If ( Tag1=131) then (Set Tag2= "Belt off") Else Tag1 ”.
Is it possible to write it this way or is there a better way
Thanks
Craig