[Gambas-user] [Gambas Bug Tracker] Bug #1298: I'm having problems with 'input'
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Tue Apr 24 13:36:42 CEST 2018
http://gambaswiki.org/bugtracker/edit?object=BUG.1298&from=L21haW4-
Comment #2 by Tobias BOEGE:
This is by design and documentation [1]:
> INPUT [ # Stream , ] Variable [ , Variable ... ]
> Reads the stream Stream, and converts elements *separated by space characters* or newlines with the Val function before putting them into the variables.
If you want to read an entire line, use LINE INPUT [2].
[1] http://gambaswiki.org/wiki/lang/input
[2] http://gambaswiki.org/wiki/lang/lineinput
More information about the User
mailing list