From c339c5acb2f25ab46b01bc7d0bf61e35e9c2d8f6 Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 8 Dec 2000 20:47:12 +0000 Subject: [PATCH] --- data/Scripts/test.scr | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 data/Scripts/test.scr diff --git a/data/Scripts/test.scr b/data/Scripts/test.scr new file mode 100644 index 000000000..e0361e391 --- /dev/null +++ b/data/Scripts/test.scr @@ -0,0 +1,36 @@ +// Crappy test program +// Prints a number based upon another one ( eh? ) + +#include defs.scr + + + +// No switch statements here.. +if($tmp1==1) +{ + $tmp2=11; +} +else if($tmp1==2) +{ + $tmp2=22; +} +else if($tmp1==3) +{ + $tmp2=33; +} +else if($tmp1==4) +{ + // Stop here! + stop; +} + +// Have a rest.. +pause; + +// Show result and stop +if($tmp2!=0) + print($tmp2); +else + print(12345); +stop; +