blob: 8142e6ff9174b73ef20b57a2143fdb4d9ba98480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//SCI2C: DEFAULT_PRECISION= DOUBLE
function mainfunction()
a = 0;
b = 5;
while (a+b < 36)
disp('a');
disp(a);
a = a + b;
while (b < 9)
disp('b');
disp(b);
b = b + 1;
a = a + 1;
end
end
endfunction
|