Using 'INPUT' to get data
BlitzMax Forums/BlitzMax Beginners Area/Using 'INPUT' to get data
| ||
I am using the following to prompt for a filename but when it runs the input line the program locks Local filename:String Local f:TStream Local x:Int,y:Int filename=Input("filename to save: ") filename=filename+".lvl" f=WriteFile(filename) Any ideas why this is please? With Blitz3D it gave me a prompt at the top left of the screen with the cursor but this doesnt seem to work Thanks Graham |
| ||
In Bmax input() works in the console only. For you game/program you need to create a proper Input functions (looks at GetChar &Co) |
| ||
You can change StandardIOStream to something else other than the console. |
| ||
thanks Ive just come across HighGUI and its just what I need for my buttons, textbox etc so that will suit me just fine and dandy Graham |
| ||
Couldn't you use RequestFile$() to load a file requestor? |