Update of /cvsroot/fb-contrib/fb-contrib/samples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2573/samples
Modified Files:
PL_Sample.java
Log Message:
if the register changes inbetween the two lists, clear the list for the reg
Index: PL_Sample.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/samples/PL_Sample.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- PL_Sample.java 25 Sep 2005 05:46:46 -0000 1.2
+++ PL_Sample.java 25 Sep 2005 06:07:02 -0000 1.3
@@ -11,6 +11,9 @@
String[] make = new String[100];
String[] model = new String[100];
+ int[] x = new int[10];
+ int[] y = new int[10];
+
public void printPeople()
{
for (int i = 0; i < name.size(); i++)
@@ -32,4 +35,12 @@
return null;
}
+
+ public void testFP()
+ {
+ int i = 0;
+ int xx = x[i];
+ i += 1;
+ int yy = y[i];
+ }
}
\ No newline at end of file
|