Strange behaviour with if-else-Statements

It seems, as tomerarnon mentioned, a + in the beginning of a line in Julia does not represent a continuation of the line before. See:

Parentheses (or + at the end of the line) allows Julia to recognize the multiline code.

2 Likes