input in graphics mode

BlitzPlus Forums/BlitzPlus Programming/input in graphics mode

mudcat(Posted 2004) [#1]
When I run this...there is a blank full screen,another window is opeded but I can't see it,I type dad,and then press return..then the input window comes up,I see down on the bottom that my main graphic screen was minized.I press that to maximize and the program is running.What am I not understanding.If u just point me I think I can figure it out.

Global name$
Global y=1
; setup screen
Graphics 640,480
;Use page flipping
SetBuffer BackBuffer()
While KeyDown(1)=0
Cls
If y=1
inputn()
EndIf

Text 520,130,"SCORE"
Text 520,140,score
Text 520,260,"LEVEL"

Text 520,270,name$


Flip

Wend

End
Function inputn()
name$=Input$("name:")
y=0
End Function


Snarty(Posted 2004) [#2]
See the post you placed on BlitzCoder, I have replied there.

(For your information: Print/Input bring up the console)