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.
|
- class square
- private word side
- public method init(s as word) as word
- self.side = s
- end method
- public method destroy(x as byte)
- end method
- end class
-
- program main
- var sq as square
- sq = new square(4)
- print sq.side
- print total
- end program
|