[Smipl-devel] SF.net SVN: smipl:[5] smipl-demos
Brought to you by:
the_student
From: <the...@us...> - 2009-07-13 15:23:24
|
Revision: 5 http://smipl.svn.sourceforge.net/smipl/?rev=5&view=rev Author: the_student Date: 2009-07-13 15:23:23 +0000 (Mon, 13 Jul 2009) Log Message: ----------- Added Paths: ----------- smipl-demos/ smipl-demos/function test.program.smipl smipl-demos/version testing.smipl.program Added: smipl-demos/function test.program.smipl =================================================================== --- smipl-demos/function test.program.smipl (rev 0) +++ smipl-demos/function test.program.smipl 2009-07-13 15:23:23 UTC (rev 5) @@ -0,0 +1,16 @@ +set a=1 +set b=2 +set c=3 +set cmd=6 +cmd a b c +stop +set args=0 +pop args +print args +set arg=0 +if args=0 +return +pop arg +print arg +subtract args 1 +goto 10 \ No newline at end of file Added: smipl-demos/version testing.smipl.program =================================================================== --- smipl-demos/version testing.smipl.program (rev 0) +++ smipl-demos/version testing.smipl.program 2009-07-13 15:23:23 UTC (rev 5) @@ -0,0 +1,16 @@ +set min_ver=1 +set ver=smipl_ver +if ver<min_ver +goto 8 +set err=0 +print err +stop +set smipl_ver=min_ver +if smipl_ver=min_ver +goto 14 +set err=2 +print err +stop +set err=1 +print err +stop \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |