Adding without adding - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Programs (https://staging.qb64phoenix.com/forumdisplay.php?fid=7) +---- Thread: Adding without adding (/showthread.php?tid=392) |
Adding without adding - SMcNeill - 05-11-2022 So, how do you add two numbers, without adding them? Code: (Select All) Print Add(200, 22, Overflow~%%);: If Overflow~%% Then Print "Overflow!" Else Print You XOR, Bit shift, and AND them into submission! |