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

unless statements #41

Open
darrylabbate opened this issue Nov 28, 2022 · 0 comments
Open

unless statements #41

darrylabbate opened this issue Nov 28, 2022 · 0 comments
Labels
experimental Purely experimental ideas (for now) feature New feature or request language Language features/requests

Comments

@darrylabbate
Copy link
Member

I.e. inverse of if

unless <expr> {
    // Control transfers if expr is false
}

Note that Perl, for example, supports unless...elsif...else

@darrylabbate darrylabbate added feature New feature or request language Language features/requests experimental Purely experimental ideas (for now) labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Purely experimental ideas (for now) feature New feature or request language Language features/requests
Projects
None yet
Development

No branches or pull requests

1 participant