I'm trying to print string message once the expression is true, right now the output still prints a message though the expression is false.
Asked
Active
Viewed 360 times
0
1 Answers
5
Actually there is no problem with your expression, but the subsequent dataflow. The bang object [bng] converts any input to a bang message. Even though the expression is correct, the output 0 and 1 will both be converted into a bang. the bang is then printed into the console as "text":bang.
Replace the bang GUI with a [select 1] object and you are almost there.
This is a more Pd-like syntax:
Also: Please read Is there any reason to use vanilla Pure Data instead of Pd-extended?

Max N
- 1,134
- 11
- 23
-
3@user3367643 if you want to get help in the future, you might want to consider **accepting** the best (or only) answer that correctly answers your problem. [so] would soon be dead if people don't "give back". – umläute Oct 05 '18 at 18:17