Why is this block not working?

Why is this block not working?

I tested it, but it shows Unknown. I don't know why, the Do It result doesn't work. Can you please help me with this?

So if someone selects a date between March 21 to April 20, I have to show a text. How do I do that?

AIA file, if needed: HoroscopeDetector.aia (90.0 KB)

The most serious issue is the contradiction.

How can a Month be 3 and 4 at the same time?

If a Day is >= 21, it has to be 21, 22, 23, ... If a Day is <= 20, it has to be 20, 19, 18...

How can a Day be >= 21 and <= 20 at the same time?

Also, did you know that you can have 2+ sockets in and or or statements?

image

2 Likes

Yes, I knew that

So if someone selects a date between March 21 to April 20, I have to show a text. How do I do that?

Do you need to exclude March 21 and April 20? So far, that is what you seem to do.

No I do not want to

Remember - apart from and statements, you can also use or statements.

Plus, to make it save space, use External Inputs.

image

2 Likes

Can you clarify it by putting it into If then block?

Ok, here is the working AIA. I also fixed the other blocks.

HoroscopeDetector_1.aia (90.0 KB)

1 Like

Thank you very much! :smiley:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.