inspecting the order of outputs from js outlets

    Aug 03 2012 | 7:09 pm
    I have a js which I suspect is causing problems by outputting in the wrong order.
    1) Is the order of output in js outlet statements affected by presence or absence of semicolons, or is it determined completely by the order of the statements in the code?
    2) How can I inspect the order of outputs from a js object's outlets, or from the outlets of any object for that matter?
    Many thanks in advance

    • Aug 05 2012 | 9:04 pm
      print? or post inside the js??
    • Aug 06 2012 | 9:34 am
      MIB's suggestion is SOP for your second question. As to your first, if you are taking advantage of Javascript's somewhat ad hoc approach to parsing code by not explicitly using a semicolon as a statement delimiter… I do not believe it will make a difference to execution order, but I would check a JS reference before laying my hand in fire about this.
      Note that if you want a JS object to output in right-to-left order, you do have to write the outlet calls in that order. Sometimes R2L seems so ingrained in Max that a person might think it happens automatically, but it's really all up to the object to make it happen.