Boolean Algebra - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Official Links (https://qb64phoenix.com/forum/forumdisplay.php?fid=16) +--- Forum: Learning Resources and Archives (https://qb64phoenix.com/forum/forumdisplay.php?fid=13) +--- Thread: Boolean Algebra (/showthread.php?tid=354) Pages:
1
2
|
Boolean Algebra - TarotRedhand - 05-06-2022 Some years ago I wrote a tutorial on this topic for the scripting community of Neverwinter Nights. I have now gone through this and edited it to make it relevant for QB64. As I am new to QB64, I would appreciate it if someone will download it, read it and let me know of any errors that they come across no matter how small. The package contains 2 pdf documents (the readme and the 20 page tutorial), an HTML cheat sheet and a plain text document of pre-calculated constants. Dropbox Link removed - Download link to newer, more accurate version on page 2 of this thread. All comments welcome. Thanks. TR RE: Boolean Algebra - OldMoses - 05-06-2022 Looks like a nice primer on the subject. I gave you a subdirectory on my machine to house it. I particularly like the HTML cheat sheet. It looks like a handy quick reference, suitable for printing and hanging over the monitor. RE: Boolean Algebra - bplus - 05-06-2022 Oh I bet these are loads and loads of Truth Tables... like from Logic 101, haven't looked yet, just testing my predictions Sure Truth Tables are fine but can you do this? http://rosettacode.org/wiki/Zebra_puzzle ;-)) Update: Yep! A bunch of Tables, LOL RE: Boolean Algebra - TarotRedhand - 05-06-2022 @bplus, I use a free JavaScript app to do that. TR RE: Boolean Algebra - PhilOfPerth - 05-07-2022 (05-06-2022, 11:44 AM)TarotRedhand Wrote: Some years ago I wrote a tutorial on this topic for the scripting community of Neverwinter Nights. I have now gone through this and edited it to make it relevant for QB64. As I am new to QB64, I would appreciate it if someone will download it, read it and let me know of any errors that they come across no matter how small. The package contains 2 pdf documents (the readme and the 20 page tutorial), an HTML cheat sheet and a plain text document of pre-calculated constants.I have read them all through from start to finish, and found no grammatical errors - which disappointed me a bit... I can usually pick up a few little things! I haven't proofed the actual tables - I need to get a bit more familiar with it to do that, but if they're on a par with the text, it's pretty good! Congratulations. Phil RE: Boolean Algebra - TarotRedhand - 05-07-2022 Thanks for doing that. TBH I was worried that I had missed something while converting the included code snippets to QB64. Running the text through ms word's spelling/grammar check (and ignoring where it gets it wrong ) does tend to kill those sort of errors. TR RE: Boolean Algebra - TarotRedhand - 05-09-2022 One little update that illustrates that using hexadecimal instead of denary can make your life easier. Here is an alternative list of bitwise constants covering bit 0 to bit 31 - Code: (Select All) CONST BIT00 = 1; TR RE: Boolean Algebra - Dimster - 05-09-2022 Nice job, found this helpful. I guess George Boolean didn't believe that "maybe" is also a logical operator as in "this might be true or completely unfounded". Truth in today's world is confusing. RE: Boolean Algebra - TarotRedhand - 05-10-2022 Actually his name was George Boole (wikipedia). Boolean refers to things attributed to him. In this case we are dealing with mathematical logic. TR RE: Boolean Algebra - Dimster - 05-10-2022 Hi TarotRedHand . I knew it was George Boole and have no idea why I typed George Boolean. One of those Logic slips maybe?? |