what is wrong with my code?Trying to get a grasp on string functions.
Believe it's something with my code.When I press backspace,text comes up blank.
Thanks,
mudcat
Graphics 800,600 Global text:String Global a:Int Repeat a=GetChar() text:+Chr(a) If KeyDown(key_backspace) text=Left(text,2) 'does this mean the left two characters? EndIf DrawText text,100,100 Flip;Cls Until KeyDown(key_escape)
Believe it's something with my code.When I press backspace,text comes up blank.
Thanks,
mudcat