Sample code for generating license keys

BlitzMax Forums/BlitzMax Programming/Sample code for generating license keys

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The only thing that looks like it doesn't work right in that version is the following line:

If Len(tname) = n Then tname = tname + "~"

Since the ~ is a special character in BlitzMax...
Correct me if I'm wrong, but shouldn't that be changed to:
If Len(tname) = n Then tname = tname + "~~"

?