Classic Computer Magazine Archive COMPUTE! ISSUE 77 / OCTOBER 1986 / PAGE 10

Cleaner Atari INPUT

I am designing an adventure game with my ATARI 800XL. I would like to know if there is a way to get rid of the question mark prompt during INPUT.

Chris Genigeski

Instead of using INPUT in the standard way, open a file to the editor device (E:) and receive input from that file. Since a question mark is superfluous for file input/ output, the computer suppresses it. This short program illustrates the technique. Line 20 opens a file to the editor and line 40 receives the input.

10 DIM A$(20)
20 OPEN #3, 4, 4, "E : "
30 PRINT "ENTER YOUR NAME"
40 INPUT #3, A$
50 PRINT A$