7 proc ${1:function_name} {${2:args}} {
12 ${1:expr}? ${2:true} : ${3:false}
18 # Conditional if..else
25 # Conditional if..elsif..else
36 if { [catch {${1:#do something...}} ${2:err}] } {
37 ${3:# handle failure...}
41 catch {${1}} ${2:err} ${3:options}
49 for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {
54 foreach ${1:x} {${2:#list}} {
59 after ${1:ms} ${2:#do something}
62 after cancel ${1:id or script}
65 after idle ${1:script}
71 expr {${1:#expression here}}
89 namespace eval ${1:path} {${2:#script...}}