X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Foceani-tests.mdc;h=5e911925fd39d5a80c3eec0edc0c37614a486666;hp=e3739ed940802dd324eebc14fec1eefdc03c8be4;hb=9a2f89b1a0846809c6855814a8f72e8fa74f0e43;hpb=527a8f053f3ee881dad97a5c78e17d9c62862bad diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index e3739ed..5e91192 100644 --- a/csrc/oceani-tests.mdc +++ b/csrc/oceani-tests.mdc @@ -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.