Shop OBEX P1 Docs P2 Docs Learn Events
Update for FemtoBasic - Page 3 — Parallax Forums

Update for FemtoBasic

13»

Comments

  • JoJo Posts: 55
    edited 2007-11-07 18:55
    Oldbitcollector:

    I can't replicate your problem with going right after going left. I've attached my copy of FemtoBasic.spin
    as a zip file in case something went wrong in the posting etc. The modifications I've made are in 2 places:

    1) I've added a handful more constants for key codes (lines 46 through 52)

    2) lines 204 through 270 contain the CON, DAT and PRI for the new getline method

    The code is slightly modified from the original posted version:
    1) using constants instead of numbers for key codes
    2) using prebuild strings for cursor operations used more than once
    3) now also understands the 'end' key (moves cursor to end of line)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ---
    Jo
Sign In or Register to comment.