SLK Posted December 12, 2016 Share Posted December 12, 2016 Hello! I am trying to use a global variable to save the state of a component. The variable is set during the initialization to default value. There is a button which should call following quick (toggle) sequence when clicked: if (my_global_Var = 1) my_Var = 0 component.myComponent.BackColor = RGB(212,212,212) else my_global_Var=1 component.myComponent.BackColor = RGB(212,212,0) endif When clicking the button I always receive the same error message: C1070 Not enough parameters for the given operator: Line 1 - Unable to perform quick sequence action Line 1 contains following code: if (my_global_Var = 1) The same problem when creating a property for the component or creating a virtual channel for saving the value globally. Thank you in advance for your response. Best regards SLK Line 1 contains following code: if (my_global_Var = 1) Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.