Advertisement
linesguy

YourWorldOfText.com in applesoft

Jan 4th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. 0 rem note mar 8: apparently the cursor deletes whatever text is over it, and i can't find a fix for it.
  2.  
  3. 0 rem +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
  4. 0 rem | copy this into http://inexorabletash.github.io/jsbasic/ |
  5. 0 rem | hit run, click somewhere in the box, then start typing! |
  6. 0 rem +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
  7.  
  8.  
  9.  
  10. 10 text : home : normal
  11. 15 ?:?:?:?
  12. 20 ?" O"
  13. 30 ?" O"
  14. 40 ?" |__"
  15. 50 ?"/\__\"
  16. 60 ?"||__| ~BY LINESGUY JAN 4 2017"
  17. 70 ?"USE ARROW KEYS TO MOVE CURSOR"
  18. 90 X = 30 : Y = 10
  19. 100 K$ = "å" : if PEEK(49152) >127 then get K$
  20. 110 if K$ = CHR$(8) and X <> 1 then X = X - 1
  21. 115 if K$ = chr$(127) and Y <>1 then x = x - 1 : normal : print " "
  22. 120 if k$ = chr$(10) and Y <> 23 then Y = Y + 1
  23. 130 if K$ = chr$(11) and Y <> 1 then y = y - 1
  24. 140 if k$ = chr$(21) and X <> 40 then x = x + 1 : E = E + 1
  25. 145 if K$ = chr$(13) and Y <> 23 then for EN = 0 to E : x = x - 1 : next EN : y = y + 1 : E = 0 : x = x + 1
  26. 150 htab X : vtab y : inverse : print " " : htab X : vtab Y : normal : print " " : htab X : vtab Y
  27. 170 if K$ <> "å" and K$ <> chr$(127) and K$ <> chr$(8) and K$ <> chr$(13) and K$ <> chr$(10) and K$ <> chr$(11) and K$ <> chr$(21) then print K$ : E = E + 1 : if X <> 40 then X =X + 1
  28. 180 normal : goto 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement