Displaying 1 result from an estimated 1 matches for "317737".
Did you mean:
31773
2009 Apr 03
1
new line between '}' and 'else' in function body
Hi list members,
?"else" tells us
In particular, you should not have a newline between '}' and
'else' to avoid a syntax error in entering a 'if ... else'
construct at the keyboard or via 'source'.
but there's no syntax error when you break the line between "}" and
"else" in a function, e.g.
f = function(x) {