CompuServe Thread

AMIGABASIC "INPUT"

2 messages in this thread
#132937From: Ross WilkinsonJul 2, 1988 11:27 PM
The AMIGA BASIC command "INPUT" does not seem to work (Commodore Extras 1.2). The syntax, per the manual, is: INPUT[;][prompt string;]variable-list. I find that the question-mark prints as expected, and the string also, if included, but when INPUT is executed and I attempt to key in the data the screen just flashes orange each time I hit a key without printing to the screen. I then have to exit BASIC to get out of INPUT. The same thing happens on another Amiga at a local Commodore dealer. They couldn't figure it out either. I've written many programs using INPUT on my C-64 without any such trouble. Does INPUT really work on 1.2 and, if so, what am I doing wrong that the manual doesn't tell me? Thanks for any replies!
#133041From: Ed SilvaJul 3, 1988 3:59 PM
Ross, the WINDOW you are INPUTing from MUST be the current window ( not ghosted ) to fix this you must click on the WINDOW requesting input or use the Intuition function WindowActivate& ( WindowPointer ) and you must have the intuition library open ( bmap ).