November 2016
Intermediate to advanced
697 pages
14h 44m
English
Julia offers many of the control statements that are familiar to the other languages, while also simplifying the syntax for many of them. However, tasks are probably new; they are based on the coroutine concept to make computations more flexible.
We will cover the following topics:
Conditional evaluation means that pieces of code are evaluated, depending on whether a Boolean expression is either true or false. The familiar if-elseif-else-end syntax is used here, which is as follows:
# code in Chapter 4\conditional.jl var = 7 if var > 10 println("var has value $var and is bigger than 10.") elseif var < 10 println("var has value ...
Read now
Unlock full access