Fossil SCM

fossil-scm / test / th1-tcl8.txt
Blame History Raw 15 lines
1
<th1>
2
#
3
# This is a "TH1 fragment" used to test the Tcl integration features of TH1.
4
# The corresponding test file executes this file using the test-th-render
5
# Fossil command.
6
#
7
proc doOut {msg} {puts $msg; puts \n}
8
9
if {[tclInvoke set tcl_version] >= 8.6} {
10
doOut [tclInvoke tailcall set x 1]
11
} else {
12
error "This test requires Tcl 8.6 or higher."
13
}
14
</th1>
15

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button