class Counter public method set(value as word self.value = value end method end class program Main end program