you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years ago

I can actually define this in TCL:

% proc ifn't {cond cmds} {if {!$cond} {uplevel $cmds}}
% ifn't false {puts 12}
12
% ifn't true {puts 12}
% 
  • source