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
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1