--- Begin Message ---
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








--- End Message ---

Reply via email to