aboutsummaryrefslogtreecommitdiff
path: root/iemhelp/help-splitfilename.pd
blob: 4e6a2752001bceb5acc96828747ed7639820c270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#N canvas 150 53 673 562 10;

#X text 23 436 (c) musil@iem.kug.ac.at;

#X text 65 449 IEM KUG;

#X text 40 461 graz \, austria 2002;

#X text 232 457 updated for Pd version 0.35;

#X text 9 1 splitfilename: split into path and filename;

#X obj 53 391 print path;

#X obj 139 391 print file;

#X msg 389 153 separator $;

#X msg 389 88 separator @;

#X msg 389 109 separator :;

#X msg 25 74 C:/program/pd/my_project my_foo.pd;

#X obj 63 338 print path+file;

#X msg 389 46 separator /;

#N canvas 4 20 450 300 /SUBPATCH/ 0;

#X obj 101 31 inlet;

#X obj 100 59 outlet;

#X connect 0 0 1 0;

#X restore 389 276 pd;

#X msg 389 174 separator z;

#X msg 389 195 separator _;

#X msg 389 216 separator .;

#X text 120 19 (separator is last "/");

#X msg 389 67 separator space;

#X msg 54 98 /home/me my_first_patch.pd;

#X text 156 368 1.arg: <symbol> separator-character (opt. \, default

"/");

#X msg 405 250 separator;

#X msg 389 131 separator 2;

#X msg 534 78 separator backslash;

#X msg 534 97 separator leftbrace;

#X msg 534 116 separator rightbrace;

#X msg 534 135 separator dollar;

#X msg 534 154 separator comma;

#X msg 534 173 separator semi;

#N canvas 4 20 450 300 /SUBPATCH/ 0;

#X obj 101 31 inlet;

#X obj 100 59 outlet;

#X connect 0 0 1 0;

#X restore 534 255 pd;

#X obj 53 315 mergefilename /;

#X obj 53 368 splitfilename /;

#X connect 7 0 13 0;

#X connect 8 0 13 0;

#X connect 9 0 13 0;

#X connect 10 0 30 0;

#X connect 12 0 13 0;

#X connect 13 0 30 0;

#X connect 13 0 31 0;

#X connect 14 0 13 0;

#X connect 15 0 13 0;

#X connect 16 0 13 0;

#X connect 18 0 13 0;

#X connect 19 0 30 0;

#X connect 21 0 13 0;

#X connect 22 0 13 0;

#X connect 23 0 29 0;

#X connect 24 0 29 0;

#X connect 25 0 29 0;

#X connect 26 0 29 0;

#X connect 27 0 29 0;

#X connect 28 0 29 0;

#X connect 29 0 13 0;

#X connect 30 0 11 0;

#X connect 30 0 31 0;

#X connect 31 0 5 0;

#X connect 31 1 6 0;