Skip to content

Static If allows to choose between *many* different code paths. #17

@1100110

Description

@1100110

( this was totally here the entire time. )

static if(one) blah; 
else static if(two) blah2; 
else static if(three) blah3; 

Page 20, line under 2.3.3 and Syntax (In the PDF version.)
Line 351, in the tex.

It's a little bit pedantic, but this is a tutorial.

I'd say simply changing that the word 'two' to 'different'.

I'll create a pull request if someone'll give me the go ahead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions