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.

28 lines
417 B

5 years ago
5 years ago
  1. #include "../include/mindustry.h"
  2. extern struct MindustryObject message1;
  3. void main(void) {
  4. int i = 0;
  5. for (i = 5; i < 9; i++) {
  6. printd(i);
  7. }
  8. do {
  9. if (i % 2 == 1) {
  10. continue;
  11. }
  12. printd(i);
  13. ++i;
  14. if (i == 8) {
  15. break;
  16. }
  17. } while (!(i >= 10));
  18. print("\n");
  19. i = 0;
  20. printd(i);
  21. if (i == 3) {
  22. print(" is 3");
  23. } else {
  24. print(" is not 3");
  25. }
  26. print("\n");
  27. printflush(message1);
  28. asm("noop");
  29. }