Le 2011-10-25 à 12:38:00, Jonathan Wilkes a écrit :

It's worth noting that the current [expr] is both "Max-centric"-- because numbers written as integers imply integer math-- and incompatible with Max-- because in object boxes Pd strips the decimal from "1." which is a common idiom in Max to force float math.

Pd also turns «1.0» (and such) into «1».

However, Pd never strips those things if they get parsed as symbols.

thus [expr 1.0/2] gives 0.5 whereas [expr 1.0 /2] will become [expr 1 /2] which will give 0.

 ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to