• Serpent7776@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months 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}
    %