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