Update of /cvsroot/plib/plib/examples/src/psl/data
In directory usw-pr-cvs1:/tmp/cvs-serv30442/plib/examples/src/psl/data
Modified Files:
test.psl
Log Message:
Added #define/#undef
Index: test.psl
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/psl/data/test.psl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- test.psl 10 Sep 2002 04:37:39 -0000 1.13
+++ test.psl 11 Sep 2002 05:27:58 -0000 1.14
@@ -1,11 +1,16 @@
#include <data/header.psh>
+#define ONE 1
+#define TWO 2
+#define THREE 3
+#undef ONE
+#define ONE (THREE-TWO)
void main ()
{
int i ;
- for ( i = 0 ; i < 20 ; i = i + 1 - 3 + 3 )
+ for ( i = 0 ; i < 20 ; i = i + ONE )
{
if ( i == 10 ) { printf ( "Continuing past TEN\n" ) ; continue ; }
if ( i == 17 ) { printf ( "Seventeen is enough!\n" ) ; break ; }
|