comparison tests/script/test_function_one_parameter.nap @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a4671277546c
1 int z;
2
3 int func(int a)
4 {
5 if(a == 4)
6 {
7 return 5;
8 }
9
10 return 7;
11 }
12
13 z = 3;
14
15 if(z == 3)
16 {
17 int y = 2;
18 z = 4;
19 }
20
21 int g = func(z);