ZenScript main repository
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

functions.zs 262B

1234567891011121314151617181920
  1. function test() as void {
  2. println("functions.zs; test1");
  3. }
  4. function test2() as void {
  5. println("functions.zs; test2");
  6. }
  7. test();
  8. test2();
  9. println(test3(1, 3));
  10. function test3(a as int, b as int) as int{
  11. println(a+b);
  12. return a + b;
  13. }