INPUT, another weird feature

From: Baltissen, GJPAA (Ruud) <"Baltissen,>
Date: Mon, 13 Sep 2021 13:31:30 +0000
Message-ID: <AM6PR10MB2360315567F888080A36E25FE1D99_at_AM6PR10MB2360.EURPRD10.PROD.OUTLOOK.COM>
Hallo allemaal,


Not having used INPUT for a very long, I was playing with it on my C64. The used program was simple:

1 input a,b
2 print a,b

Not knowing any more how you could enter multiple inputs, I started with '1 2'. To be sure, a space between the 1 and the 2.
First surprise: it asked for another input and the second and biggest surprise: the output was '12   3'. Reading the manual I found out I had to use commas as separators instead of spaces. So I tried as input '1  2  3  4  ,  5  6  7  8' and the result was '1234   5678'.

So it seems BASIC simply skips the spaces in the numerical  output. IMHO it shouldn't do that. But it does. Am I missing something or did I run in another feature?


With kind regards / met vriendelijke groet, Ruud Baltissen

http://www.baltissen.org<http://www.baltissen.org/>









De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de
geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te
nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit
e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken.
Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige
overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij
overgebrachte virussen.

APG Groep N.V. is gevestigd te Heerlen en is ingeschreven in het
handelsregister van de Kamer van Koophandel Limburg onder nummer 14099617


The information contained in this e-mail is confidential and may be privileged.
It may be read, copied and used only by the intended recipient.
If you have received it in error, please contact the sender immediately by
return e-mail; please delete in this case the e-mail and do not disclose its
contents to any person. We don't accept liability for any errors, omissions,
delays of receipt or viruses in the contents of this message which arise as a
result of e-mail transmission.

APG Groep N.V. is registered in the trade register of the Chamber
of Commerce Limburg, The Netherlands, registration number: 14099617
Received on 2021-09-13 16:02:13

Archive generated by hypermail 2.3.0.