+dhe Posted October 24, 2021 Share Posted October 24, 2021 Has anyone seen a text entry routine for XB? Ideally, I'd like to have something a user could type say a paragraph into? Quote Link to comment Share on other sites More sharing options...
+arcadeshopper Posted October 24, 2021 Share Posted October 24, 2021 TmlSent from my LM-V600 using Tapatalk 1 Quote Link to comment Share on other sites More sharing options...
+TheBF Posted October 25, 2021 Share Posted October 25, 2021 But if you are "missing the link" what could you do? You would need to make an editor loop like one does in other language I guess. You would put KEY() in a loop with control key values doing GOSUBs to various cursor control routines and placing valid ascii chars on the screen at the cursor position. The most difficult thing for XB would probably be inserting and deleting although you might be able to use SEG$() and DISPLAY AT() to good effect but it might still be painful on a really long string. It's pretty good with this string length. 100 A$="NOW IS THIS TIME FOR ALL GOOD MEN TO COME TO THE AID OF THEIR COUNTRY. I don't know what happens when the string gets very long? " 110 CALL CLEAR 120 FOR I=LEN(A$)TO 1 STEP -1 130 DISPLAY AT(1,1):SEG$(A$,I,LEN(A$)-I) 140 NEXT I 150 GOTO 110 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted October 25, 2021 Share Posted October 25, 2021 Don't forget the beep firstly...or lastly.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.