aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.tcl
blob: 6a4b13dbec6ceefebe77a9513f8ad852bfe2df66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# tcl tests

#simple example

proc Echo_Server {port} {
    set s [socket -server EchoAccept $port]
    vwait forever
}

# Bug #1947

$s($i,"n")
set n $showArray($i,"neighbor")