04-11-2006, 03:36 AM
This is what I have so far. I was wondering if 1) This is a bad way to do it, and 2) If there was a way to implement backspace better than it is here.
Thanks
Thanks
Code:
#INCLUDE "fbgfx.bi"
Option Explicit
CONST True=1
CONST False=0
SCREENRES 640, 480, 16, 2, 0
Dim Work_Page As Integer
Work_Page = 0
Dim cmd As String
Do
SCREENSET Work_Page, Work_Page Xor 1
SCREENSYNC
Cls
Print cmd
cmd = cmd + INKEY$
If MULTIKEY(SC_BACKSPACE) Then cmd = Left$(cmd, Len(cmd) - 1)
Work_Page = Work_Page Xor 1
Loop Until MULTIKEY(SC_ESCAPE)