Conditional structures: Difference between revisions
→if expressions
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 3,181:
# ... and that a decoupling assignment returns a Boolean...
if val
# success (2 or more values in array returned from submatch function)
# use .alias and .name here
Line 3,192:
...
}</lang>
Prior to langur 0.10, you would use parentheses around the declared variable names (.alias, .name).
===shortened form if expression===
|