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

SIGNAL VALUE varname raises ERROR 16.1 'Label "var_value" not found', even though the label exists. #91

Open
RossPatterson opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RossPatterson
Copy link
Collaborator

RossPatterson commented Dec 4, 2024

bREXX 1.0.1 SIGNAL VALUE varname raises ERROR 16.1 'Label "var_value" not found', even though the label exists.
VM/SP 5 works.

Test case:

/* */
trace i
var = 'my_label'
signal value var
say 'How did I get here?'
exit 0

my_label:
say 'I got here!'
exit 0

bREXX 1.0.1:

doit
     3 *-* var = 'my_label'
       >L>   "my_label"
     4 *-* signal value var
       >V>   "my_label"
     4 *-* signal value var
Error 16.1 running doit, line 4: Label "my_label" not found
Ready(20016);

VM/SP 5:

 doit
     3 *-* var = 'my_label'
       >L>   "my_label"
     4 *-* signal value var
       >V>   "my_label"
     8 *-* my_label:
     9 *-* say 'I got here!'
       >L>   "I got here!"
I got here!
    10 *-* exit 0
       >L>   "0"
Ready; T=0.01/0.01 09:14:53
@RossPatterson RossPatterson added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant