For heaven's sake lets leave that last line as "an exercise for the
From: W. Wesley Groleau x4923 [mailto:[log in to unmask]]
Sent: Friday, April 21, 2000 9:13 AM
To: [log in to unmask]
Subject: Re: [Off topic] palindromes
> It seems to me that this will return true for
> any string presented. It calls itself with a
You are right.
> smaller and smaller slice of the string until
> it makes the <=1 requirement and then returns
> a boolean true all the way back up. I put it
> into a small example test program and thats
> what I seem to get. Am I missing something?
No, one line of code was missing from the second version.