Opened 16 years ago
Closed 16 years ago
#74 closed enhancement (fixed)
kmk: $(select whenN-cond, whenN-body...)
Reported by: | bird | Owned by: | bird |
---|---|---|---|
Priority: | major | Milestone: | 0.1.5 |
Component: | kmk | Version: | 0.1.4 |
Keywords: | Cc: |
Description
Simple multiple condition statement borrowed from REXX (yet again). Test whenN-cond
and expand the whenN-body
of the first which holds true. If all are false, the empty string is returned. Special condition strings for the sake of tradition: default
, default:
, otherwise}}}, and otherwise
.
Note:
See TracTickets
for help on using tickets.
(In [2163]) kmk: Added a $(select ) function for handling switch like stuff. Fixes #74.