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

Conditional page contains wrong text? #10

Open
ConorOBrien-Foxx opened this issue Jul 5, 2016 · 1 comment
Open

Conditional page contains wrong text? #10

ConorOBrien-Foxx opened this issue Jul 5, 2016 · 1 comment

Comments

@ConorOBrien-Foxx
Copy link
Member

Page in question.

Additionally, an arbitrary amount of else if blocks can be supplied:

var num := Math.rand(3);

if num == 1 {
    print "Random number was 1"
} else if num == 2 {
    print "Random number was 2"
} else if num == 3 {
    print "Random number was 3"
} else {
    print "Random number was #{num}"
}

I thought that var foo := bar was legacy and no longer valid.

@vihanb
Copy link
Member

vihanb commented Jul 7, 2016

no it's not. If you have gitbooks account you can join cheddar org to edit docs.

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

2 participants