conditional statements for Jitter?

Apr 3, 2010 at 10:33am

conditional statements for Jitter?

Hi, I’m probably being thick, but is there an equivalent of the ‘if’ object for Jitter matrices?

i.e. expr’s equivalents are vexpr or jit.op – and while the latter has some conditionals (such as < and >), I can’t find an explicit “if…then” structure.

Apr 15, 2010 at 7:40am

Javascript is one of the solutions

Apr 15, 2010 at 6:51pm

There is no direct equivalent in Jitter. You’ll have to find a way to chain jit.op statements or use jit.expr.

Apr 15, 2010 at 9:05pm

describe further what you are trying to achieve, and perhaps someone will offer a solution.

Apr 18, 2010 at 10:04pm

yeah, jit.expr. unless you need more than one output


You must be logged in to reply to this topic.