Page 1 of 1

simple ruby question!

Posted: Sun Jan 13, 2013 3:23 pm
by Jay
hi all

If i have 2 values going into ruby but don't want them to execute the code within until it receives a trigger on a third input how is that done? currently i am using sample and hold components outside the ruby window!

could someone show me please?

Thanks :)

Re: simple ruby question!

Posted: Sun Jan 13, 2013 4:37 pm
by TrojakEW
It's simple. You need to define and event method. Look in the example attached. You can also check user guide at page 131. That's how I learned that.

Re: simple ruby question!

Posted: Sun Jan 13, 2013 6:50 pm
by Jay
Thanks TrojakEW

yeh i was trying to do it from reading the guide but i seem to be placing things the wrong way round :oops: but this is a good help!

thanks again!