Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is this a bug with Round or is it just me BarrySWTP 10 1,280 07-07-2025, 08:40 PM
Last Post: BarrySWTP
  Exiting FOR NEXT, maybe a bug? Version 4.1.0 on Linux Circlotron 4 862 05-09-2025, 02:22 AM
Last Post: Circlotron
  Mix mode input of a binary open file Question! doppler 5 1,495 11-28-2024, 03:06 PM
Last Post: Petr
  I have fallen in a bug or weird behaviour TempodiBasic 2 686 10-08-2024, 06:09 PM
Last Post: TempodiBasic
  3.13.1 bug report - keyboard characters swapped Circlotron 3 1,019 06-03-2024, 05:16 AM
Last Post: Circlotron

Forum Jump:


Users browsing this thread: 1 Guest(s)