Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible bug? Unable to enter a comma in response to INPUT
#1
In QB64pe 0.8.2 take a look at this code:

Code: (Select All)
a$ = "This is a string, with a comma"
Input b$

Print a$
Print b$

Notice that the first line simply set a string and that the string contains a comma.
The second line is asking for input from a user. Start typing in a string of characters, and somewhere along the line, try to type a comma. The comma will not be accepted.

When it gets to the print statements, it prints the string of text that includes a comma, so clearly a comma is a valid character in a string. Since a comma is a valid character, an INPUT should allow a user to input a comma as part of the string.
Reply


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



Users browsing this thread: 1 Guest(s)