Re: it's...
Re: it's...
- Subject: Re: it's...
- From: Nigel Garvey <email@hidden>
- Date: Mon, 16 Apr 2001 01:58:46 +0100
Richard 23 wrote on Sun, 15 Apr 2001 05:38:41 -0700:
>
This method is less expensive than the other two and can build up fairly
>
large strings in a single line without much difficulty:
>
>
I thought I understood the math behind this silly method until I started
>
experimenting with it. I'll just show a number of examples and either
>
let someone else explain it or let this thread pass on into obscurity.
>
>
>
"" & [it, it]'s [it, it]'s [it, it]'s [it, it] of " "
>
" "'s [it, it, it, it]'s [it, it, it, it] as string
>
-- 160 spaces
That's nice! :-) If you leave the 'as string' off the second example, you
can see what's happening. The 'its' in the first list refer to the space
string. The 'its' in the second list refer to the first list. So the
second list is a list of four lists of four strings of ten characters,
which, when coerced to string, gives a string 4 * 4 * 10 characters long.
I imagine it's possible to work out if and when the length of this final
string justifies the amount of memory needed to build it.
It's...
[Bomp bob bobobob bomp bob bomp bob etc.]
Richard 23's Fly-ying Cir-cuss....
NG