Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

16 строки
258B

  1. class square
  2. private word side
  3. public method init(s as word) as word
  4. self.side = s
  5. end method
  6. public method destroy(x as byte)
  7. end method
  8. end class
  9. program main
  10. var sq as square
  11. sq = new square(4)
  12. print sq.side
  13. print total
  14. end program

Powered by TurnKey Linux.