Input
'Edit the string at the position given limited to q characters long Function StrEdit$(l$,h As Integer,v As Integer,q As Integer) Local x$,a$ a$=RTrim$(Left$(l$,q)) SStr a$,h,v Do Do:x$=VTKey$():Loop Until x$<>"" If Len(x$)=1 Then Select Case Asc(x$) Case 32 To 126 If Len(a$)<q Then a$=a$+x$:SStr a$,h,v Case 127,8 If Len(a$) Then a$=Left$(a$,Len(a$)-1):SStr a$,h,v EndIf Case 13 StrEdit$=a$:Exit Function Case Else 'ignore End Select Else If x$="_DL" Then If Len(a$) Then a$=Left$(a$,Len(a$)-1):SStr a$,h,v EndIf EndIf EndIf Loop End Function Sub SStr(a$,h As Integer, v As Integer)' support Sub for StrEdit$() Print At(h,v);a$;" ";:Print At(h,v);a$; End Sub