4-Bit Binary Adder problem

Thank god it's been a while since my last post. I don't want to seem dumb (even though I am) and annoying.

So, I'm trying to recreate Sebastian Lague's simulated computer. When trying to script the 4-bit adder, I came across this issue:


All of the false inputs represent 0's.
For context: all of the outputs should be 0 instead of any of them being 1 in this instance.

Here are all of the scripts:



Boolean to Binary Script

Yes, I realize that Snap! has the Scratch-imported math blocks, but I'm enjoying working on this, and it's something I've wanted to try since I saw Sebastian's videos on it.

untitled script pic - 2023-04-24T014207.599
or
untitled script pic - 2023-04-24T014238.743

The letters "0", "1" do not play well with the boolean values.
untitled script pic - 2023-04-24T015950.085

Thank you, this actually did help! (Sorry I doubted it, I thought the blank area in the second addition reporter would make it report nothing. However, it worked when I tried it. Thanks again!)

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