aboutsummaryrefslogtreecommitdiff
path: root/src/pdstring-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdstring-help.pd')
-rw-r--r--src/pdstring-help.pd108
1 files changed, 76 insertions, 32 deletions
diff --git a/src/pdstring-help.pd b/src/pdstring-help.pd
index 2ab94b3..9e3e0c3 100644
--- a/src/pdstring-help.pd
+++ b/src/pdstring-help.pd
@@ -1,19 +1,31 @@
-#N canvas 191 76 563 311 10;
-#X text 258 284 Bryan Jurish <moocow@ling.uni-potsdam.de>;
+#N canvas 163 18 501 441 10;
+#X text 196 400 Bryan Jurish <moocow@ling.uni-potsdam.de>;
+#X text 54 3 [pdstring] library : byte and wide-character strings;
+#X obj 51 76 bytes2any;
+#X obj 51 52 any2bytes;
+#X text 148 77 convert byte strings to pd messages;
+#X text 148 53 convert pd messages to byte strings;
+#X obj 45 142 bytes2wchars;
+#X text 147 143 convert byte strings to wide character strings;
+#X obj 45 168 wchars2bytes;
+#X text 148 169 convert wide character strings to byte strings;
+#X text 22 121 BYTES <-> WIDE CHARACTERS;
+#X text 26 33 BYTES <-> PD MESSAGES;
+#X text 20 211 WIDE CHARACTERS <-> PD MESSAGES;
+#X text 145 233 convert pd messages to wide character strings;
+#X text 146 259 convert wide character strings to pd messages;
+#X text 18 369 SEE ALSO:;
+#N canvas 0 0 584 308 pdstring-bytes 0;
#X floatatom 56 81 8 0 0 0 - - -;
#X symbolatom 46 59 10 0 0 0 - - -;
#X text 201 59 ... no special handling for symbols;
#X text 200 37 anything can be converted to a list...;
-#X obj 37 108 any2string;
-#X obj 37 230 string2any;
#X floatatom 54 178 4 0 0 0 - - -;
-#X text 213 230 string2any converts ASCII lists to Pd messages...;
#X text 202 81 ... but "float" selector is silently dropped;
#N canvas 0 0 448 335 ascii-table 0;
#X obj 162 144 f 0;
#X obj 134 153 + 1;
#X obj 161 165 t f f f;
-#X obj 133 198 string2any;
#X obj 154 243 pack s 0;
#X obj 162 119 until;
#X obj 133 218 symbol;
@@ -23,37 +35,69 @@
#X obj 162 54 t b b;
#X obj 154 266 route list;
#X obj 154 293 print charset;
+#X obj 133 198 bytes2any;
#X connect 0 0 2 0;
#X connect 1 0 0 1;
#X connect 2 0 1 0;
-#X connect 2 1 3 0;
-#X connect 2 2 4 1;
-#X connect 3 0 6 0;
-#X connect 4 0 11 0;
-#X connect 5 0 0 0;
+#X connect 2 1 12 0;
+#X connect 2 2 3 1;
+#X connect 3 0 10 0;
+#X connect 4 0 0 0;
+#X connect 5 0 3 0;
#X connect 6 0 4 0;
-#X connect 7 0 5 0;
-#X connect 8 0 0 1;
-#X connect 9 0 10 0;
-#X connect 10 0 7 0;
-#X connect 10 1 8 0;
-#X connect 11 0 12 0;
-#X connect 11 1 12 0;
-#X restore 249 144 pd ascii-table;
-#X msg 249 121 bang;
-#X text 361 143 know your charset;
-#X obj 58 139 print any2string-out;
-#X obj 37 254 print string2any-out;
+#X connect 7 0 0 1;
+#X connect 8 0 9 0;
+#X connect 9 0 6 0;
+#X connect 9 1 7 0;
+#X connect 10 0 11 0;
+#X connect 10 1 11 0;
+#X connect 12 0 5 0;
+#X restore 289 156 pd ascii-table;
+#X msg 289 133 bang;
#X msg 37 38 A B C;
#X msg 55 199 list 49 50 51;
-#X text 54 3 any2string \, string2any : ASCII conversions in [pdstring]
-lib;
-#X connect 1 0 5 0;
-#X connect 2 0 5 0;
-#X connect 5 0 13 0;
-#X connect 5 0 6 0;
-#X connect 6 0 14 0;
+#X obj 58 139 print any2bytes-out;
+#X obj 37 108 any2bytes;
+#X obj 37 254 print bytes2any-out;
+#X obj 37 230 bytes2any;
+#X text 289 173 ... know your character set;
+#X text 213 230 bytes2any converts byte lists to Pd messages...;
+#X connect 0 0 11 0;
+#X connect 1 0 11 0;
+#X connect 4 0 13 0;
#X connect 7 0 6 0;
+#X connect 8 0 11 0;
+#X connect 9 0 13 0;
#X connect 11 0 10 0;
-#X connect 15 0 5 0;
-#X connect 16 0 6 0;
+#X connect 11 0 13 0;
+#X connect 13 0 12 0;
+#X restore 87 368 pd pdstring-bytes;
+#N canvas 0 0 584 308 pdstring-wchars 0;
+#X floatatom 56 81 8 0 0 0 - - -;
+#X symbolatom 46 59 10 0 0 0 - - -;
+#X text 201 59 ... no special handling for symbols;
+#X text 200 37 anything can be converted to a list...;
+#X floatatom 54 178 4 0 0 0 - - -;
+#X text 202 81 ... but "float" selector is silently dropped;
+#X msg 37 38 A B C;
+#X msg 55 199 list 49 50 51;
+#X obj 37 254 print wchars2any-out;
+#X text 213 230 wchars2any converts wchar lists to Pd messages...;
+#X obj 58 139 print any2wchars-out;
+#X obj 37 108 any2wchars;
+#X obj 37 230 wchars2any;
+#X connect 0 0 11 0;
+#X connect 1 0 11 0;
+#X connect 4 0 12 0;
+#X connect 6 0 11 0;
+#X connect 7 0 12 0;
+#X connect 11 0 10 0;
+#X connect 11 0 12 0;
+#X connect 12 0 8 0;
+#X restore 217 368 pd pdstring-wchars;
+#X obj 43 232 any2wchars;
+#X obj 43 258 wchars2any;
+#X obj 355 368 locale;
+#X text 18 303 NOTE:;
+#X text 26 319 Wide character support requires locale support to be
+enabled \, e.g. by the [locale] external.;