If I type in 987 into a message with the add2 message , just as one would do on a calculator .
The result is 9space8space7 and not the nr. 987
-
add2 ...
-
@gentleclockdivider Yup..!
David. -
Ok , so how to get a multiple digit number in the mesage box ?
I am challenging myself to make a calculator ( with only onboard gui controls as found on the calculator itself ) , to get to grips with the language . -
You can reconstruct the number with power of ten.
Dirty demo:
Work in progress : FCPD a FreeCAD PureData connexion
-
@gentleclockdivider It's a monstrous pita that Pd is so fussy about "arguments out of range", or the task would be simple.
You can use [add2( like this....... pita.pd ... but so far I have found no way to build a message (we know the list length) with the arguments stuck together, which would be far more elegant and flexible.
David. -
@gentleclockdivider if we convert the numbers to a keycode, build a list and then convert them back to numbers it will work.
Forgot something, you need an [f] after the [list tosymbol] to convert it back to a number or it will be a symbol that looks like a number.