]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani-tests.mdc
ocean: introduce prefix op for string->number conversion.
[ocean] / csrc / oceani-tests.mdc
index e3739ed940802dd324eebc14fec1eefdc03c8be4..5e911925fd39d5a80c3eec0edc0c37614a486666 100644 (file)
@@ -282,7 +282,8 @@ Here I break it into two parts, keeping the array code separate.
 
 ###### test: sayhello
 
-       program A B astr bbool:
+       program As Bs astr bbool:
+               A := $As; B := $Bs
                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.