Wiki source code of Function Ordering Example

Version 1.4 by chrisby on 2023/12/06 09:18

Hide last authors
chrisby 1.4 1 Say `func_1` is called first, so it is at the top. Next is `func_2`. Since `func_4` is called before `func_3`, so its definition is above the definition of `func_3`.
chrisby 1.2 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 ```