GLOBAL SITE AUSTRALIAN SITE

Is it possible to use two variables in an IF block? | EdWare graphical programming | Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic3
Is it possible to use two variables in an IF block?
October 12, 2017
6:24 pm
StrykeZero
New Member
Members
Forum Posts: 1
Member Since:
October 12, 2017
sp_UserOfflineSmall Offline

As the title suggests, is it possible to use two variables in an IF block?

For example, if x > y

October 16, 2017
10:46 am
Ben
Admin
Forum Posts: 179
Member Since:
August 24, 2015
sp_UserOfflineSmall Offline

Kind of, the easiest way to do it is like this:

y = y-x

if y<0

To do this in EdWare, the variables need to be +/- 32767 type and you use two blocks: Calculate Word and then the IF

  • Keep up with Edison

    Sign up for our newsletter to get all things Edison delivered straight to your inbox.

  • This field is for validation purposes and should be left unchanged.

Heads up

The Australian Federal Parliament has passed a law that extends goods and services tax (GST) to low value imports of physical goods imported by consumers from 1 July 2018.

This means that all customers purchasing Edison robots and accessories with an Australian shipping address must now pay GST. The GST will be automatically added to your purchase and show as a line item on your invoice.

We've detected that you are in Australia, so we wanted to let you know that we have changed your settings to view our Australian site, which displays GST inclusive pricing.

You can change back to the GLOBAL SITE at any time using the link in the top left of the page.

OK got it!    Take me to the GLOBAL SITE instead

Country

Pin It on Pinterest

Share This