aboutsummaryrefslogtreecommitdiff
path: root/split_path-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-08 23:49:04 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-08 23:49:04 +0000
commit18ccc0fc2489e8242a0a6376965f33dcf946b35e (patch)
tree9b23a3f403ef95b0a3de0e845b535f2e275e369f /split_path-help.pd
parentb30f724f07c07b95f9d83ae30f4b861349bfe512 (diff)
wrote [strip_path] to separate path from filename, and to handle filenames without paths properly; added instance counters so that the version is only displayed on the first instantiation
svn path=/trunk/externals/hcs/; revision=4852
Diffstat (limited to 'split_path-help.pd')
-rw-r--r--split_path-help.pd16
1 files changed, 16 insertions, 0 deletions
diff --git a/split_path-help.pd b/split_path-help.pd
new file mode 100644
index 0000000..11e5cf0
--- /dev/null
+++ b/split_path-help.pd
@@ -0,0 +1,16 @@
+#N canvas 0 22 458 308 10;
+#X obj 111 141 split_path;
+#X symbolatom 111 201 0 0 0 3 path - -;
+#X symbolatom 175 165 0 0 0 3 filename - -;
+#X msg 80 43 symbol just-a-file.pd;
+#X msg 108 71 symbol /path/to/a/file;
+#X obj 95 161 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 159 160 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X connect 0 0 1 0;
+#X connect 0 0 5 0;
+#X connect 0 1 2 0;
+#X connect 0 1 6 0;
+#X connect 3 0 0 0;
+#X connect 4 0 0 0;