Possible bug? Unable to enter a comma in response to INPUT
#2
This behavior is correct, it has to do with how
Input
allows entering multiple variables at once (with their values separated by a comma). Because of that, when using
Input
with a string on its own you cannot include a comma in the value. You should use
Line Input
instead, which basically works exactly like you want - it reads an entire line of input text into a single string, with no limitations on commas or etc. being in it.

There is a note about this behavior on the Wiki, it goes into a bit more detail:

https://qb64phoenix.com/qb64wiki/index.php/INPUT
Reply


Messages In This Thread
RE: Possible bug? Unable to enter a comma in response to INPUT - by DSMan195276 - 06-15-2022, 06:31 AM



Users browsing this thread: 4 Guest(s)