###### test: sayhello
- program As Bs astr bbool:
+ program As Bs astr bbools:
A := $As; B := $Bs
+ bbool := bbools == "True"
print "Hello World, what lovely oceans you have!"
/* When a variable is defined in both branches of an 'if',
* and used afterwards, the variables are merged.
bools[1] = strings[2] <= "there"
for i:=0; then i=i+1; while i<5:
- print '', bools[i],
+ j ::= i
+ ra:[5]number
+ ra[i-1] = i*i
+ ra[6] = 42 // mustn't crash
+ print '', bools[i], ra[j-1],
print
###### output: arrays
- False True False False False
+ False 0 True 1 False 4 False 9 False 16
## Structures