INPUT problem
BlitzMax Forums/BlitzMax Programming/INPUT problem
| ||
When using the code below (Win 2000/BM1.14) the program freezes until I hit CTRL-C, then processes the input statement properly. Does anyone know why this is happening? The code is copied from the BM docs. (after checking... my old code pre 1.14 no longer works properly with INPUT) name$=Input("What is your name") Print "Hello "+name |
| ||
To use print you need to set up a graphics screen and use flip to display the results. |
| ||
The 'output' window acts as (sort of) graphics window. However, it doesn't have focus until you click in it and then type your response to the Input command. Ctrl-C gives it focus as well. |
| ||
tonyg: You are correct! Thanks for pointing that out. Did this behavior change in 1.14 or 1.12? I don't remember it acting this way before... but, maybe I just never noticed since I rarely use INPUT. -dak |
| ||
I think it's changed with the new IDE code. I can't remember having to refocus it but don't really use input either. |