Category:Elena: Difference between revisions

Content added Content deleted
Line 133: Line 133:
=== The Boolean Type ===
=== The Boolean Type ===


Boolean type is used in conditional operations and may accept only two Boolean literals - *true* and **false**.
Boolean type is used in conditional operations and may accept only two Boolean literals - true and false.


import extensions.
import extensions.
Line 148: Line 148:
].
].


*Note that implicit extension method - **extensions'outputOp.printLine[]** - was used to simplify the output operations.*
Note that implicit extension method - extensions'outputOp.printLine[] - was used to simplify the output operations.


The output is:
The output is: