I wanted to use D3DFunc and request a text input from the user like so:
repeat
If keystate(14) = 1
If Input$ = ""
Else
Input$ = left$(Input$, len(Input$) - 1)
Wait 75
Endif
Else
If inkey$() = right$(Input$, 1)
Wait 75
Endif
Input$ = Input$ + inkey$()
Endif
vtp = 1
cls
D3D_StartText
D3D_Text 1, 1, vtp, 0, "Enter target IP Adddress:" : vtp = vtp + 14
D3D_Text 1, 1, vtp, 0, Input$ : vtp = vtp + 14
D3D_EndText
sync
until keystate(28)
vtp represents "Vertical text position", ie. where the text should be along the y axis.
The issue is that at high typing speeds, two of the same characters in a row are not counted, adjusting this means often several characters are printed by unintentionally.
Is there any way to achieve the same effect as the "Input" command? How does that work?
[Insert witty remark here]