aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.tcl
blob: d1260fc828b106b010762b3f03e65d1ccb4e807c (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")