Won't work. SM won't allow you to write to input variables. (At least last time I tried to get away with it. Let me know if I'm mistaken.)
Declare a new variable first and then store Freq*2 to it.
Eska ·
Howdy oddson.
Freq=Freq*2;
Works fine here.
stefan ·
It works sometimes, and others not. Because it's a bit dangerous. What you actually end up doing is changing the external value, which might lead to weird stuff 🙂
Eska ·
I see. To put this calculation in stage(0) was stupid anyway.
Here is the corrected version: