Forum Discussion
Dave-Ruckley
5 years agoCommunity Member
Change shape state based on variable value
Hi all,
I'm trying to change the state of a shape based on a variable value. For example, if the variable value is 5, then the state of the shape should be the one that's named 5, if the variable ...
WaltHamilton
4 years agoSuper Hero
Programmer-type people have been wanting this ability for decades. To the best of my knowledge, it doesn't exist in any language. You have to write one or two lines of code for each possible state.
Apple's old,old BASIC used to have a "ON variable GOTO X, Y, Z", but I think that got dropped when line numbers went out.
Related Content
- 7 months ago
- 12 months ago
- 12 months ago
- 12 months ago