oldnoob
Member
Hi all,
May I ask if I'm getting the Switch statement wrong, below? (it's in the step event)
No matter how many times I run the code, the second case (where DIR=2) always plays out. However, if I physically make DIR=1, then Case 1 will be performed ...so maybe it's not the Switch command, but the value of DIR? Why does this code always assume DIR equals 2 ?
I'm confused.
May I ask if I'm getting the Switch statement wrong, below? (it's in the step event)
No matter how many times I run the code, the second case (where DIR=2) always plays out. However, if I physically make DIR=1, then Case 1 will be performed ...so maybe it's not the Switch command, but the value of DIR? Why does this code always assume DIR equals 2 ?
I'm confused.
Last edited: