Gaming
Using Conditional Instructions in SHENZHEN I/O

test 1 - Run if test 1 fails + test 2 (run if test 1 passes) + Run if test 1 and test 2 pass - Run if test 1 fails, or if test 1 passes and test 2 fails - test 3 (run if test 1 fails, or if test 1 passes and test 2 fails) + Run if test 1 fails and test 3 passes; or if test 1 passes, test 2 fails, and test 3 passes; or if tests 1 and 2 pass and test 3 does not run - Run if tests 1 and 3 fail, or if test 1 passes, test 2 fails, and test 3 fails
test 1
- execute if test 1 failed
+ test 2 (execute if test 1 passed)
+ execute if test 1 and test 2 passed
- execute if test 1 failed OR test 1 passed and test 2 failed
- test 3 (execute if test 1 failed OR test 1 passed and test 2 failed)
+ execute if test 1 failed and test 3 passed OR test 1 passed, test 2 failed, and test 3 passed OR tests 1 and 2 passed, test 3 not performed
- execute if tests 1 and 3 failed OR test 1 passed, test 2 failed, and test 3 failed
Published 06/27/2019 · Krunk Zhou
Join the conversation