Aer Interpreter Source
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.

23 lines
287 B

  1. class Program {
  2. private int test() {
  3. static int $x = 9;
  4. return $x--;
  5. }
  6. public void main() {
  7. int $a;
  8. int $b = 2;
  9. while($a = $this->test()) {
  10. int $b = $a;
  11. if($b == 6) {
  12. continue;
  13. } else if($b == 3) {
  14. break;
  15. }
  16. print("$b\n");
  17. }
  18. print("$b\n");
  19. }
  20. }