Hi list,

on 09/04/17 06:17, Alexandre Torres Porres wrote:
>     (2) if they did, can all their functionality be properly documented
>     in help files, etc?
> 
> I could volunteer for that

There is some unexpected behavior when using values named with $0 in
expressions.

In expressions:
[v b$0] works as expected
[v $0-c] does not work as expected
[v $0d] does not work at all

See attached patch for demonstration.

best wishes, ingo

#N canvas 3 51 717 576 10;
#X obj 73 59 loadbang;
#X obj 73 81 5;
#X obj 52 61 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 173 147 v a;
#X obj 153 191 v b\$0;
#X floatatom 133 389 5 0 0 0 - - -, f 5;
#X floatatom 113 430 5 0 0 0 - - -, f 5;
#X obj 133 367 expr a + 1;
#X obj 113 408 expr b\$0 + 1;
#X floatatom 93 471 5 0 0 0 - - -, f 5;
#X floatatom 73 512 5 0 0 0 - - -, f 5;
#X obj 73 323 bang;
#X obj 113 279 v \$0d;
#X obj 133 235 v \$0-c;
#X obj 220 59 \$0;
#X floatatom 220 81 5 0 0 0 - - -, f 5;
#X obj 73 490 expr \$0d + 1;
#X obj 93 449 expr \$0-c + 1;
#X text 255 367 Usual behavior;
#X text 254 408 This works;
#X text 258 449 "-" is read as minus \, so it technically works \,
but maybe not as expected;
#X text 260 490 Does not work;
#X obj 73 103 t b b f b;
#X floatatom 173 169 5 0 0 0 - - -, f 5;
#X floatatom 153 213 5 0 0 0 - - -, f 5;
#X floatatom 133 257 5 0 0 0 - - -, f 5;
#X floatatom 113 301 5 0 0 0 - - -, f 5;
#X text 257 147 Global value;
#X text 256 195 Actual (pseudo-) local value;
#X text 256 234 This would be the conventional way to declare a value
\, but won't work in expressions;
#X text 255 281 Won't work in expressions;
#X connect 0 0 1 0;
#X connect 1 0 22 0;
#X connect 2 0 1 0;
#X connect 3 0 23 0;
#X connect 4 0 24 0;
#X connect 7 0 5 0;
#X connect 8 0 6 0;
#X connect 11 0 7 0;
#X connect 11 0 8 0;
#X connect 11 0 16 0;
#X connect 11 0 17 0;
#X connect 12 0 26 0;
#X connect 13 0 25 0;
#X connect 14 0 15 0;
#X connect 16 0 10 0;
#X connect 17 0 9 0;
#X connect 22 0 11 0;
#X connect 22 1 3 0;
#X connect 22 1 4 0;
#X connect 22 1 13 0;
#X connect 22 1 12 0;
#X connect 22 2 3 0;
#X connect 22 2 4 0;
#X connect 22 2 13 0;
#X connect 22 2 12 0;
#X connect 22 3 14 0;

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to