Where can i Find this "and" block that is connected to 1 block on left and 2 at the right?
(image from google):
All have is this:
Blockly: "AND"-block connected to 3 blocks
Moderator: leecollings
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Blockly: "AND"-block connected to 3 blocks
Last edited by ThinkPad on Wednesday 06 January 2016 13:30, edited 1 time in total.
Reason: Fixed topictitle: end > AND
Reason: Fixed topictitle: end > AND
-
- Posts: 36
- Joined: Thursday 06 November 2014 15:59
- Target OS: Linux
- Domoticz version: 2564
- Contact:
Re: Blockly: "End"-block connected to 3 blocks
Right click on the block and select "External Inputs". This will change the block shape to the one in red circles.
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: Blockly: "End"-block connected to 3 blocks
thx.
i works.
now, why is this a usefull thing to do? just to make the code easy to read or can i do somthing more with this "new end"?
i works.
now, why is this a usefull thing to do? just to make the code easy to read or can i do somthing more with this "new end"?
-
- Posts: 36
- Joined: Thursday 06 November 2014 15:59
- Target OS: Linux
- Domoticz version: 2564
- Contact:
Re: Blockly: "End"-block connected to 3 blocks
As far as I know it's exactly the same, just makes certain layouts easier to read.
I use a combination of both.
I use a combination of both.
-
- Posts: 9
- Joined: Monday 14 December 2015 18:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Blockly: "AND"-block connected to 3 blocks
It comes in handy when you have several booleans nested.... event A AND event B AND event C AND event D
Your line become quite long.
Your line become quite long.
Who is online
Users browsing this forum: No registered users and 1 guest