]> ocean-lang.org Git - ocean/blob - csrc/itest.code
indent test: various fixed to match new design.
[ocean] / csrc / itest.code
1
2 # stuff
3
4         hello = yes; mister = no;
5         there = x;
6         all = y;
7         if cond + cond2 :
8                 hello = x;
9                 hello2 = x;
10
11                 sum = val +
12                  val;
13
14                 if condX:
15                  foo = x *
16                     x +
17                     y
18                     / two;
19          else if cond2:
20                 there1 =x
21                 there1a=x
22         there2=x
23         there3=x;
24         all = y;
25         if true {yes=x;} else : no=x
26         if true: yes = no; no = yes;
27
28         if false {
29                 print = OK
30         } else {
31                 print = not_OK
32         }
33
34         if a:
35                 if b:
36                         c= d
37         x = y
38