SBSPSS/data/Scripts/test.scr
2000-12-12 20:51:59 +00:00

38 lines
415 B
Plaintext

// Crappy test program
// Prints a number based upon another one ( eh? )
//#print something..
#include data/scripts/defs.scr
// No switch statements here..
if($tmp1==ONE)
{
$tmp2=11;
}
else if($tmp1==TWO)
{
$tmp2=22;
}
else if($tmp1==THREE)
{
$tmp2=30+3;
}
else if($tmp1==FOUR)
{
// Stop here!
stop;
}
// Have a rest..
pause;
// Show result and stop
if($tmp2!=0)
print($tmp2);
else
print(5432);
stop;