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 "else if" support in if statements #3

Open
yuelinxin opened this issue Jun 12, 2023 · 0 comments
Open

Add "else if" support in if statements #3

yuelinxin opened this issue Jun 12, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@yuelinxin
Copy link
Owner

Is your feature request related to a problem? Please describe.
Add an "else if" statement to the if statement syntax to support a more flexible syntax for code branching & control flow.

Describe the solution you'd like
A typical syntax for "else if" should be sufficient at the moment.
For example:

if condition_1 {
    // branch block
}
else if condition_2 {
    // branch block
}
else {
    // branch block
}
@yuelinxin yuelinxin assigned yuelinxin and zzh8241102 and unassigned yuelinxin Jun 12, 2023
@yuelinxin yuelinxin added enhancement New feature or request good first issue Good for newcomers labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants