Serial Numbers - 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: Utilities (https://staging.qb64phoenix.com/forumdisplay.php?fid=8) +---- Thread: Serial Numbers (/showthread.php?tid=1542) |
Serial Numbers - AtomicSlaughter - 03-11-2023 Well hello again, I'm here with another bit of code, I was pondering the idea of a way to add serial codes and code checks to my programs, and this is what i came up with to generate a serial number> Code: (Select All) Function genCode$ and this is what checks to see if the code is valid, and then returns a 1 for valid and a 0 for invalid> Code: (Select All) Function checkcode (d As String) RE: Serial Numbers - mnrvovrfc - 03-13-2023 "C64 Run" Magazine was full of this stuff. Had a program that had to be entered and run first of all. Then when the user entered one of the games or other programs featured in the magazine, after [ENTER] key was pressed it gave out an "unique" number. The user was supposed to make sure that number matched the one for the current line in the printed source code. LOL I still wanted to know what was that "Connex" which was like Tetris, featured in one issue for the Commodore 128. |