Skip to content

add command TEXT from TBXL #100

Open

Description

@lhuven

It would be great, if possible, to have the command implemented in Fast Basic, to be able to display text from the string at position x, y, also in the graphics mode, as it's done with TEXT command in Turbo Basic XL 1.5:

TEXT x, y, A$
TEXT x, y, "HELLO"

Thank you very much :)

Activity

  1. Atari-Fan commented on Dec 28, 2024

    @Atari-Fan

    and all variations, e.g.:

    TEXT X,Y,0
    TEXT X,Y,HEX$(A)
    TEXT X,Y,SIN(X)

    etc...

  2. EricCarrGH commented on Dec 28, 2024

    @EricCarrGH
    Contributor

    Are you aware of the POSITION x,y command?

    POSITION 5,10:PRINT "text"

    Or shorthand:

    POS.5,10:?"text"

    Then you can leverage the powerful PRINT command:

    POS.8,8
    ?"Hello, ";name$;". Your score is ";score

  3. lhuven commented on Dec 28, 2024

    @lhuven
    Author

    Are you aware of the POSITION x,y command?

    POSITION 5,10:PRINT "text"

    It will not let you display characters in graphics mode. TEXT in TBXL works similar to POS. X, Y: PRINT "TEXT" in GR.0, but in graphics modes like GR.7, 8, 15 etc it will actually display characters in graphics window, not colours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions