Page 1 of 1

String Input

Posted: Tue May 02, 2023 7:37 pm
by MrVertigo
With a program written in BASIC that requires a string input from the user, is it possible not to have the quotation marks at the cursor?

Re: String Input

Posted: Tue May 02, 2023 8:01 pm
by dr beep
On the ZX Spectrum you can use INPUT LINE A$
On a ZX81 you need to use INKEY$ and add the pressed key to a string, display the result and continue until Newline is pressed.

Re: String Input

Posted: Tue May 02, 2023 8:45 pm
by MrVertigo
Ah, brilliant! Thanks.