Wiki source code of Function Ordering Example

Version 1.2 by chrisby on 2023/12/06 09:11

Hide last authors
chrisby 1.2 1 `func_1` is called first, so it is at the top. Next is `func_2`. Since `func_4` is called before `func_3`, its definition is above the definition of `func_3`.
2
chrisby 1.1 3 ```
4 func_1() {
5 func_2()
6 func_3()
7 }
8
9 func_2() {
10 func_4
chrisby 1.2 11 ...
chrisby 1.1 12 }
13
14 func_4() {
15 ...
16 }
17
18 func_3(){
19 ...
20 }
21 ```
chrisby 1.2 22