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

Too many END IF #49

Open
PikeBaySkywalker opened this issue Mar 25, 2024 · 1 comment
Open

Too many END IF #49

PikeBaySkywalker opened this issue Mar 25, 2024 · 1 comment

Comments

@PikeBaySkywalker
Copy link

An improvement could be that the editor knows that the IF THEN Statement alteady has an END IF and dont add another one.

20240325_094310.mp4
@PaulSquires
Copy link
Owner

The matching of IF/THEN and END IF (as well as LOOP start and ends) has been on the TO FIX list for some time. I need to implement a better algorithm for counting the number nested conditional statements and then matching them (with proper indentation) with ending END IF. There are several posts on the FreeBasic forum asking for this improved functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants