comparison tests/script/test_parameter_of_function.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 test_1 = 8;
2 int test_2 = 9;
3
4 int f(int a, int b)
5 {
6 if(a == 8)
7 {
8 test_1 = 5;
9 }
10 if(b == 9)
11 {
12 a = 6;
13 test_2 = 7;
14 }
15 }
16
17 f(test_1, test_2);
18