Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

31 wiersze
706B

  1. // E02-S03 name-table fixture: case-insensitive IDs and declaration spelling.
  2. // "runner" and "ticker" are used before their declarations; the declaration
  3. // spelling must replace the first-use spelling. "Main" is declared once and
  4. // later written differently; the first declaration spelling must stay.
  5. interface Ticker
  6. method tick()
  7. end interface
  8. class Worker implements TICKER
  9. private runner count
  10. public method Tick()
  11. count.go(Count, COUNT)
  12. end method
  13. end class
  14. class RunnerJob
  15. end class
  16. class Runner
  17. public method go(a as word, b as word)
  18. end method
  19. end class
  20. program Main
  21. var w as WORKER
  22. var job_2 as runnerjob
  23. var Count as word
  24. w = new worker()
  25. main = MAIN
  26. end program

Powered by TurnKey Linux.