Forums > Jitter

conditional statements for Jitter?


jg
April 3, 2010 | 10:33 am

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.


April 15, 2010 | 7:40 am

Javascript is one of the solutions


April 15, 2010 | 6:51 pm

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


April 15, 2010 | 9:05 pm

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


April 18, 2010 | 10:04 pm

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


Viewing 5 posts - 1 through 5 (of 5 total)