If-Then Statement

Official support for: loomer.co.uk
Post Reply New Topic
RELATED
PRODUCTS

Post

How would I create a statement like this (please excuse my pseudocode):

If (x <= 15)
{
store y = 0
}
else
{
store y = 1
}

This is what I have so far:

 
You do not have the required permissions to view the files attached to this post.

Post

Not sure if it's the way to do it , but it does work
Image
You def need a data branch which takes truth ,false as input
So truth as inputs triggers the data with zero , false triggers the data with one
You then route these to store memory first , then load
Eyeball exchanging
Soul calibrating ..frequencies

Post

Thank you!!! Branch is what I am missing!

By the way, what is the Order module doing? Regardless, it works! Thanks for the suggestion!

Post

Well as the name suggest , the order in which the signals are routed .
It often happens that things don't work the way it's supposed to be because some module is located slightly higher or lower ( location on the graph ) .
Just like any signal flow program the order and thus the placement of the modules is verry important , something that still ahppens to me all the time :lol:
The order module explictly routes signal from left to right.
Image
Image


Edit . for routing purposses , check out all the switch and branch modules they are fundamental .
Eyeball exchanging
Soul calibrating ..frequencies

Post Reply

Return to “Loomer”