SWITCH π‘ BETA
SWITCH selects a branch from a value.
What it does
SWITCH compares a value against CASE labels and runs the matching branch, with DEFAULT as fallback.
Limits
- Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Forms are
SWITCH value,CASE "a",DEFAULT,END SWITCH(keyword_reference.rs).