Trouble setting the value of a slider via button script
I am just trying to create a button to set the value of a slider (c) based on the value of another variable (b). I have tried using the following command: SetValue[c, 10*b - 5] but when I click the button I get an error. Is something wrong with my syntax? It seems like this should be pretty straightforward.