Custom Query (100 matches)
Results (58 - 60 of 100)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#72 | fixed | kmk: Add .RETURN and .ARGC to $(evalcall ) and $(evalcall2 ) for creating functions | ||
Description |
To create more complicated functions without also creating an unreadable mess, it's necessary to make Example: define POP local words := $(words $($1)) local .RETURN := $(word $(words), $($1)) $1 := $(wordlist 1, $(expr $(words) - 1), $($1)) endef stack-var = a b c d d-element := $(evalcall POP,stack-var)
In addition, it's very useful to have some way of getting at the argument count without evaluating all the possibilities. For this purposed |
|||
#73 | fixed | kmk: Add generic loop functions $(for ) and $(while ). | ||
Description |
|
|||
#74 | fixed | kmk: $(select whenN-cond, whenN-body...) | ||
Description |
Simple multiple condition statement borrowed from REXX (yet again). Test |