Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add line-oriented programming #155

Open
jmmv opened this issue Dec 25, 2021 · 0 comments
Open

Re-add line-oriented programming #155

jmmv opened this issue Dec 25, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jmmv
Copy link
Collaborator

jmmv commented Dec 25, 2021

Earlier versions of EndBASIC had line numbers for the program contents and they came with RENUM and AUTO. When I added the full-screen editor, I removed those because the editor obsoleted them and the program lines didn't have any meaning. But... I find the lack of line numbers to be a deficiency for the kind of experience I want EndBASIC to offer.

So. We need to put line numbers back. But they must play well with the editor too, which must stay.

Shouldn't be too hard... unless we add line-based GOTOs, which we should have too, because then RENUM must understand them...

@jmmv jmmv added this to the 0.9 milestone Dec 25, 2021
@jmmv jmmv added the enhancement New feature or request label Dec 25, 2021
jmmv added a commit that referenced this issue Nov 20, 2022
This adds support for specifying line numbers at the beginning of a
statement and treats them as if they were labels, much like what
QuickBASIC does.  This makes it possible to finally type the traditional
10 GOTO 10 program.

This partially addresses #155, but given that I am not yet decided on
whether to re-add proper line numbers, I'm not closing this bug just
yet.
jmmv added a commit that referenced this issue Nov 20, 2022
This adds support for specifying line numbers at the beginning of a
statement and treats them as if they were labels, much like what
QuickBASIC does.  This makes it possible to finally type the traditional
10 GOTO 10 program.

This partially addresses #155, but given that I am not yet decided on
whether to re-add proper line numbers, I'm not closing this bug just
yet.
jmmv added a commit that referenced this issue Nov 20, 2022
This adds support for specifying line numbers at the beginning of a
statement and treats them as if they were labels, much like what
QuickBASIC does.  This makes it possible to finally type the traditional
10 GOTO 10 program.

This partially addresses #155, but given that I am not yet decided on
whether to re-add proper line numbers, I'm not closing this bug just
yet.
@jmmv jmmv removed this from the 0.9 milestone Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant