aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/tcl/x.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'lexilla/test/examples/tcl/x.tcl')
-rw-r--r--lexilla/test/examples/tcl/x.tcl13
1 files changed, 13 insertions, 0 deletions
diff --git a/lexilla/test/examples/tcl/x.tcl b/lexilla/test/examples/tcl/x.tcl
new file mode 100644
index 000000000..d1260fc82
--- /dev/null
+++ b/lexilla/test/examples/tcl/x.tcl
@@ -0,0 +1,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")