Zero Problem... Can you solve it?

    Mar 04 2012 | 2:42 pm
    Hi, I'm new to Max, so don't be too harsh on me... so how can you say "all float numbers pass except for 0. (zero)" and "replace zero with X" in max language? I have a float number box that determines the playback speed in a sfplay~ objet. I want it to be looped and never stop, so I can't have 0. on that float number box... I tried a few ways to go around it but I wasn't able to solve it. I'll be glad if you can help me. Thanks.

    • Mar 04 2012 | 3:30 pm
      [if $f1!=0. then $f1 else X]
    • Mar 04 2012 | 5:38 pm
      @vanille béchamel: Hey your expression doesn't work... it reports this error: "(...) has a comma or semi comma" ... if I remove the semi comma it says: "bad gt string"...
    • Mar 04 2012 | 6:35 pm
      you can also use select object: