In short, a line ending is treated as a semicolon unless one of the following conditions is true:
The line in question ends [...].
The nextline begins with a word that cannot start a statement.
The line ends while inside parentheses (...) or brackets [...], because these cannot contain multiple statements anyway.
Answer
in a word that would not be legal as the end of a statement, such as a period or an infix operator
Tags
#odersky-programming-in-scala-2ed #scala
Question
In short, a line ending is treated as a semicolon unless one of the following conditions is true:
The line in question ends [...].
The nextline begins with a word that cannot start a statement.
The line ends while inside parentheses (...) or brackets [...], because these cannot contain multiple statements anyway.
Answer
?
Tags
#odersky-programming-in-scala-2ed #scala
Question
In short, a line ending is treated as a semicolon unless one of the following conditions is true:
The line in question ends [...].
The nextline begins with a word that cannot start a statement.
The line ends while inside parentheses (...) or brackets [...], because these cannot contain multiple statements anyway.
Answer
in a word that would not be legal as the end of a statement, such as a period or an infix operator
If you want to change selection, open document below and click on "Move attachment"
Open it In short, a line ending is treated as a semicolon unless one of the following conditions is true:
The line in question ends in a word that would not be legal as the end of a statement, such as a period or an infix operator.The next line begins with a word that cannot start a statement.The line ends while inside parentheses (...) or brackets [...], because these cannot contain multiple statements anyway.&#
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.