fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 162: Execute procedures depending on options
Idiom # 162: Execute procedures depending on options
See
programming-idioms.org
:
Code
for arg in envir.args.drop 1 do if arg = "b" bat if arg = "f" fox
What are effects?
Running Example
ex162 is bat => say "bat" fox => say "fox" for arg in envir.args.drop 1 do if arg = "b" bat if arg = "f" fox
What are effects?
last changed: 2024-07-01
next: Idiom # 163: Print list elements by group of 2