TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"W. Wesley Groleau x4923" <[log in to unmask]>
Fri, 21 Apr 2000 11:12:49 -0500
text/plain (17 lines)
> 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.

--
Wes Groleau
http://freepages.genealogy.rootsweb.com/~wgroleau

ATOM RSS1 RSS2