File: test_multiline_if.kbs

package info (click to toggle)
basic256 2.0.99.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,888 kB
  • sloc: cpp: 17,185; yacc: 4,025; lex: 1,466; java: 1,091; sh: 39; xml: 33; makefile: 20
file content (14 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
i = 1
j = 1
if i = 1 then
  print "i is one"
  if j = 1 then
     print "j is one"
     print "j is really one"
  endif
  print "i really one"
else
  print "i is not one"
  print "i is really not one"
endif
print i + " " + j