infuzion ·
http://rapidshare.de/files/1637465/Float_IF-OP-THEN-ELSE_0.90-infuzion.rar.html (open the link in a new tab/window, scroll to the bottom, then click on {Free}. The link will be on the bottome of the new page.)
from the README:
== About == Switches the output between the THEN and ELSE inputs depending on a comparison between the IF_This and Compared_To inputs. The operator (e.g. “=“, “<“) is selected by Operator.
But wait, there's more! As of this writing, you get the following (bonus) Compare modules not available elsewhere: * Float Equals * Float NOT Equals * Float Less OR Equals * Float Greater * Float Greater OR Equals
=== Connector Types === * Input * IF_This Float * Operator Integer, 0-5 * Values: 0=“=“, 1=“NOT=“, 2=“<“, 3=“<=“, 4=“>“, 5=“>=“ * Compared_To Float * THEN generic * ELSE generic * Output * Out generic
THEN, ELSE, and Out are generic connectors, so any connector type may be used.
== Credits == Thanks to sk0re (http://skore.de) for his "IF-THEN-ELSE int" and selector. My Math Logic professor who gave me a "D" for my final essay on proving "1+1=2".
== To Do == HTML documentation Add feedback Replace my homemade Compare modules with official ones as they are released.
== Release Licence == If you use this module, please give me (& sk0re) a free copy and/or credit-link. cheers infuzion http://profiles.myspace.com/users/744035
Actually, I think my best accomplishment so far is figuring out a Float Equals:
Feedback appreciated, esp bug-proofing & equations I've missed. Should i put tests for even/odd, divisible... I'll release v1.00 when the Select boolian index bug gets fixed (no biggie though). cheers