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.

Change History (1)

comment:1 by bird, 16 years ago

Resolution: fixed
Status: newclosed

(In [2163]) kmk: Added a $(select ) function for handling switch like stuff. Fixes #74.

Note: See TracTickets for help on using tickets.