Trigger Timing

For general discussion related FlowStone
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Trigger Timing

Post by Perfect Human Interface »

Wow, thank you very much Trog. I guess looking at the green conversion it wasn't so ridiculous as I thought. And yes, it works just fine. I'll study the Ruby "tutorial" when I have time later. :) Above and beyond as always... I appreciate it.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Trigger Timing

Post by trogluddite »

You're welcome. :D
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Trigger Timing

Post by RJHollins »

TROG ... you mentioned naming of INPUTS on the RUBY module, and cautioned about punctuation and spaces in the name. Now you have me wondering ... :shock:

There have been, hmmmm .... several times I have 2 INPUT variables that have a Name and a Number.

I've been trying to keep a simple convention, using something like this:

name
name#

? Is there a way to test if a variable name [label] is not acceptable ? :?
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Trigger Timing

Post by trogluddite »

RJHollins wrote:? Is there a way to test if a variable name [label] is not acceptable ?

Something every Ruby programmer needs to know; so I've posted the answer HERE so it's easier to find.
Short version of the answer - yes, name (letters of either case) followed by digits is always acceptable. And having a convention is a fine idea - saves a hell of a lot of skipping around the code trying to remind yourself what you called things!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Post Reply