Re: Contest #3 - Winner
- Posted by petelomax at blueyonder.co.uk Apr 05, 2002
- 384 views
On Fri, 5 Apr 2002 00:14:30 -0500, Robert Craig <rds at RapidEuphoria.com> wrote: Ah. If you'd chucked the whole thing at it without line breaks (as my tests did) it would have worked. If anyone wants to play with it you might want to change the final loop to: object input, wholetext wholetext={} while 1 do -- printf(1,"Enter Cipher ",{}) input=gets(0) if atom(input) then exit end if if input[length(input)]=10 then input=input[1..length(input)-1] end if if length(input)=0 then exit end if tt=time() -- main(input) wholetext&=input&" " end while main(wholetext) Then it'd get an 82.5% rating. Pete