Now, Creating the IntegerCount
P | N


Count subclass: #IntegerCount

instanceVariableNames: ''

classVariableNames: ''

poolDictionaries: ''

category: 'Counts'

IntegerCount methodsFor: 'counting'

increment

value := value + 1.

decrement

value := value - 1.

asBase: radix

^value printStringBase: radix "printStringRadix: in VisualWorks"


Previous | Next


Last modified at 7/3/97; 12:46:21 PM
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | Papers | CS 2390 Spring '97 Home Page | STABLE | MMC-CaMILE