aboutsummaryrefslogtreecommitdiff
path: root/writable.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'writable.tcl')
-rw-r--r--writable.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/writable.tcl b/writable.tcl
index 647ea26..983098d 100644
--- a/writable.tcl
+++ b/writable.tcl
@@ -16,12 +16,12 @@ proc writable::constructor {self args} {
# HOT inlet --------------------------------------------------------------------
proc writable::0_symbol {self args} {
- variable ${self}::filename [pd::arg 0 symbol]
+ variable ${self}::filename [tclfile::expand_vars [pd::arg 0 symbol]]
writable::0_bang $self
}
proc writable::0_anything {self args} {
- variable ${self}::filename [tclfile::make_symbol $args]
+ variable ${self}::filename [tclfile::expand_vars [tclfile::make_symbol $args]]
writable::0_bang $self
}
@@ -38,11 +38,11 @@ proc writable::0_bang {self} {
# COLD inlet -------------------------------------------------------------------
proc writable::1_symbol {self args} {
- variable ${self}::filename [pd::arg 0 symbol]
+ variable ${self}::filename [tclfile::expand_vars [pd::arg 0 symbol]]
}
proc writable::1_anything {self args} {
- variable ${self}::filename [tclfile::make_symbol $args]
+ variable ${self}::filename [tclfile::expand_vars [tclfile::make_symbol $args]]
}
pd::class writable