Skip to content

Add functions #84

Description

@JLNapo

Hello,
I'm using your BASIC on FabGL Olimex. I had to modify a few parameters, but everything is working fine.
I'd like to add a few functions to the BASIC:

  • Automatic line numbering when creating a program, using the AUTO command with or without a starting number.
    I've created the correct function, and it does what's expected.
  • Recalling the last typed line. Again, this function is created and works.

When I say my functions work, I mean they display the expected output on the screen, but when I press 'ENTER', I get a 'Syntax Error'. I think the string I'm sending to the output stream via 'outsc', 'outch', or other functions only displays the output on the screen but isn't being processed by the system.

Could you please explain what needs to be done for a validated string to be recognized by the interpreter?

Thank you in advance.

Activity

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