06-15-2022, 06:31 AM
This behavior is correct, it has to do with how
There is a note about this behavior on the Wiki, it goes into a bit more detail:
https://qb64phoenix.com/qb64wiki/index.php/INPUT
Inputallows entering multiple variables at once (with their values separated by a comma). Because of that, when using
Inputwith a string on its own you cannot include a comma in the value. You should use
Line Inputinstead, 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