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

FOR loop crashes on LOOP ending #210

Closed
bernstbj opened this issue Jan 4, 2024 · 4 comments
Closed

FOR loop crashes on LOOP ending #210

bernstbj opened this issue Jan 4, 2024 · 4 comments
Assignees
Labels

Comments

@bernstbj
Copy link
Collaborator

bernstbj commented Jan 4, 2024

Using a FOR statement in the shell and ending with a LOOP causes a crash.

*** A2osX-Login ***

No ETC/PASSWD file present, Logged as ROOT.
Consider adding ROOT user with USERADD command.

*** MOTD ***

Welcome to A2osX 0.95

A2osX-SH 0.95

root@/A2OSX.BUILD/root/$ for i in `seq 5` ; echo "i=$i" ; loop
i=1
for i in `seq 5` ; echo "i=$i" ; loop
-------------------------------------^
Line #1:[$C4]:LOOP Without WHILE.

^
FF/00B3:
FF/4689:
FF/3638:
FF/36FF:

FWIW, the FF/36FF: stuff at the end is the IIgs crash output.

@bernstbj bernstbj added the bug label Jan 4, 2024
@burniouf
Copy link
Collaborator

burniouf commented Jan 5, 2024

image
FOR / NEXT, Brian.....not FOR LOOP ;-)
but a bug/crash still here in case of SYNTAX ERROR

@burniouf
Copy link
Collaborator

burniouf commented Jan 5, 2024

image
LOOP fixed (in case of silly mistakes in scripts done by BJB)

@bernstbj bernstbj self-assigned this Jan 5, 2024
@bernstbj
Copy link
Collaborator Author

bernstbj commented Jan 5, 2024

Will test and close with next media release

@bernstbj
Copy link
Collaborator Author

Released in build 2666

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

No branches or pull requests

2 participants