Menu: Difference between revisions

12 bytes added ,  15 years ago
m
→‎{{header|Tcl}}: make it clearer that an empty string is returned in the empty-list case
(→‎{{header|Tcl}}: increase Tcl-ishness)
m (→‎{{header|Tcl}}: make it clearer that an empty string is returned in the empty-list case)
Line 116:
}</lang>
Testing it out interactively...
<lang tcl>% puts >[select test {}]<
><
% puts >[select "Which is from the three pigs" {
"fee fie" "huff and puff" "mirror mirror" "tick tock"
Anonymous user