I've been thinking about name registration screens for quite some time. However, when I started thinking about it quite some time ago, the best option I had available for my level of coding experience was a massive, many-framed bitmap of every available character.
That, I'm guessing, is not the best option -- mainly because I've been looking at a group of commands (GetKey, Chr$, Len, Left$) that seem like they might come together to present another possibility. This possibility would be a simple, "Type in the letters" thing, but I think it would work. (On the subject of Chr$, I knew there was something to convert ASCII to strings!)
My problem is that I really don't know ASCII, even though I apparently have a complete list at this website, and in particular I don't know how BlitzPlus can use ASCII.
First, which of the ASCII codes in the tables on that page are recognized by BlitzPlus? I imagine the letters and numbers all are, but which of the others?
Second, which key corresponds to DEL in the table, and how does BlitzPlus react when GetKey and Chr$ are used on it? Knowing this could be the first step to deleting characters. Or we could simply say "string$ = Left$(string$, Len(string$) - 1)"... unless it has a problem with putting Len(string$) in the Left$ parameters.
Third, the ASCII code GetKey produces is decimal, not hexadecimal or octal, right? I just want to make sure we're all thinking of the same system.
Thank you!
Tomas Khan
That, I'm guessing, is not the best option -- mainly because I've been looking at a group of commands (GetKey, Chr$, Len, Left$) that seem like they might come together to present another possibility. This possibility would be a simple, "Type in the letters" thing, but I think it would work. (On the subject of Chr$, I knew there was something to convert ASCII to strings!)
My problem is that I really don't know ASCII, even though I apparently have a complete list at this website, and in particular I don't know how BlitzPlus can use ASCII.
First, which of the ASCII codes in the tables on that page are recognized by BlitzPlus? I imagine the letters and numbers all are, but which of the others?
Second, which key corresponds to DEL in the table, and how does BlitzPlus react when GetKey and Chr$ are used on it? Knowing this could be the first step to deleting characters. Or we could simply say "string$ = Left$(string$, Len(string$) - 1)"... unless it has a problem with putting Len(string$) in the Left$ parameters.
Third, the ASCII code GetKey produces is decimal, not hexadecimal or octal, right? I just want to make sure we're all thinking of the same system.
Thank you!
Tomas Khan