Sept. 2, 2020
6:18 a.m.
Hello, I have now a challenge where I have to validate a ISBN number. Can I do something like this on the class side : (string isEmpty) Â Â ifTrrue: [ ^ false] Â ifFalse:Â [ digits:= something. Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â controlDigit := something. Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â self validateISBNNumber] where on the validateISBNNumber I use the instance variables digits and controlDigit to validate the ISBN number on the instance side. Roelof