ZenScript main repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. public class myTestClass {
  2. var nonFinalInt as int = 10;
  3. val finalInt as int = 20;
  4. public this() {
  5. }
  6. public this(nonfinalInt as int) {
  7. this.nonFinalInt = nonfinalInt;
  8. println(nonfinalInt);
  9. }
  10. public test() as string {
  11. return "TEST";
  12. }
  13. }
  14. val tt = new myTestClass(666);
  15. println(tt.test());