]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani-tests.mdc
oceani: drop parse_value method for types.
[ocean] / csrc / oceani-tests.mdc
index 5e911925fd39d5a80c3eec0edc0c37614a486666..6ea120447b33dd3134339efcb819776d6eff89c9 100644 (file)
@@ -282,8 +282,9 @@ Here I break it into two parts, keeping the array code separate.
 
 ###### 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.