aboutsummaryrefslogtreecommitdiff
path: root/tclfile.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tclfile.tcl')
-rw-r--r--tclfile.tcl14
1 files changed, 14 insertions, 0 deletions
diff --git a/tclfile.tcl b/tclfile.tcl
new file mode 100644
index 0000000..7700a5d
--- /dev/null
+++ b/tclfile.tcl
@@ -0,0 +1,14 @@
+package require Tclpd 0.2.3
+
+package provide tclfile 0.1
+namespace eval ::tclfile {
+}
+
+proc tclfile::make_symbol {argslist} {
+ set output [pd::strip_selectors $argslist]
+ set selector [lindex $output 0]
+ if {$selector eq "list" || $selector eq "float"} {
+ set output [lrange $output 1 end]
+ }
+ return $output
+}