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

Add_choice and done inconsistency. #443

Closed
ainslec opened this issue May 20, 2021 · 1 comment
Closed

Add_choice and done inconsistency. #443

ainslec opened this issue May 20, 2021 · 1 comment

Comments

@ainslec
Copy link
Owner

ainslec commented May 20, 2021

Done within an add_choice block does not end cease execution (after the choose) as would be expected.

(Raised by Dee)

start_at = test_location

locations {
   test_location "Please type TEST." ;
}

on_command {
   : match "test _" {
      : add_choice "Select This"  {
         : print "PASS-001";
         : done;
         : print "FAIL-001";
      }
      : choose ;
      : print "FAIL-002";
   }
}
@ainslec
Copy link
Owner Author

ainslec commented May 20, 2021

Fixed.

@ainslec ainslec closed this as completed May 20, 2021
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

1 participant