11.1 Introduction to Control Flow
When you evaluate Julia code line-by-line for execution, you sometimes need to shift the flow of execution out of this line-by-line manner to a different point of the code. In other words, the flow of the program needs to be altered. There are many reasons why you would need to make this shift. For example, a condition needs to be checked and then the flow can be directed to one of many directions, some parts of the calculation are repetitive so the program needs to be altered before returning back, or an error might happen and the flow needs to redirected. ...