From b20c2c13f229704f5b4b9a43d8323f24e18977f2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 7 Nov 2014 15:03:03 -0600 Subject: BAS: Rename examples/bas to examples/bastest. Hook into build and configuration system. Finish ROMFS logic --- apps/examples/bastest/tests/test19.bas | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 apps/examples/bastest/tests/test19.bas (limited to 'apps/examples/bastest/tests/test19.bas') diff --git a/apps/examples/bastest/tests/test19.bas b/apps/examples/bastest/tests/test19.bas new file mode 100644 index 000000000..aa19fa4ae --- /dev/null +++ b/apps/examples/bastest/tests/test19.bas @@ -0,0 +1,20 @@ +for x=1 to 3 + if x=1 then + print "1a" + else + if x=2 then + print "2a" + else + print "3a" + end if + end if +next + +for x=1 to 3 + if x=1 then + print "1b" + elseif x=2 then + print "2b" + elseif x=3 then print "3b" +next + -- cgit v1.2.3