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.

#49504
Apr 15, 2010 at 7:40am

Javascript is one of the solutions

#177794
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.

#177795
Apr 15, 2010 at 9:05pm

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

#177796
Apr 18, 2010 at 10:04pm

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

#177797

You must be logged in to reply to this topic.