"if" object trouble


    Sep 16 2007 | 2:49 pm
    Hi,
    maybe i miss something but when i use the if object the result only go to the next object (int) .. if i put a new object(like an other int) after the first int, nothing happen with the last int!
    hum
    trying will be more understanble than what i try to explain :)
    max v2;
    thanks

    • Sep 16 2007 | 2:58 pm
      On 16 sept. 07, at 16:49, freeka wrote:
      > Hi,
      > maybe i miss something but when i use the if object the result only
      > go to the next object (int) .. if i put a new object(like an other
      > int) after the first int, nothing happen with the last int!
      > hum
      > trying will be more understanble than what i try to explain :)
      The problem is not the if obejct, but that you send out a message
      which is "set [int]" instead of just the int value. Toggle understand
      that set message as display the new value (check or not), but do not
      send the value to the output. In that particular case, you could have
      use [< 3] instead of if, to obtain the same result, with less typing.
      HTH,
      ej
      max v2;
    • Sep 16 2007 | 3:09 pm
      Merci merci!