aboutsummaryrefslogtreecommitdiff
path: root/sandbox/textexpand.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/textexpand.tcl')
-rw-r--r--sandbox/textexpand.tcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/sandbox/textexpand.tcl b/sandbox/textexpand.tcl
new file mode 100644
index 0000000..f690281
--- /dev/null
+++ b/sandbox/textexpand.tcl
@@ -0,0 +1,6 @@
+zinc .z
+pack .z
+
+proc createItem {type params} {
+ if 1 [concat .z add $type 1 $params]
+}