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