source:
trunk/essentials/dev-lang/perl/jpl/Test/Test.jpl@
3296
| Last change on this file since 3296 was 3181, checked in by , 19 years ago | |
|---|---|
| File size: 3.0 KB | |
| Line | |
|---|---|
| 1 | import java.util.*; |
| 2 | |
| 3 | public class Test { |
| 4 | |
| 5 | int myint = 123; |
| 6 | double mydouble = 3.14159265; |
| 7 | String mystring = "my string"; |
| 8 | static String ourstring = "our string"; |
| 9 | static boolean embedded = false; |
| 10 | int array[] = {1,2,3}; |
| 11 | Vector v; |
| 12 | |
| 13 | public Test() { |
| 14 | |
| 15 | |
| 16 | v = new Vector(); |
| 17 | v.addElement("Hello"); |
| 18 | printfields(); |
| 19 | Vector x = perlTryVec(v); |
