Re: Incremental Character Generator
Re: Incremental Character Generator
- Subject: Re: Incremental Character Generator
- From: Greg Strange <email@hidden>
- Date: Tue, 21 Nov 2000 21:34:25 -0800 (PST)
>
This is very brute force, and someone else may have a more elegant way of
>
doing it, but it works.
>
>
--Michelle
>
>
repeat with loop1 from 1 to 26
>
J J repeat with loop2 from 1 to 26
>
J J Jrepeat with loop3 from 1 to 26
>
J J J JJ J repeat with loop4 from 1 to 26
>
J J JJ J J Jset test to (ASCII character (loop1 + 96)) & (ASCII character
(loop2
>
+ 96)),
>
J J & (ASCII character (loop3 + 96)) & (ASCII character (loop4 + 96))
>
J J JJ J J J--do something with test
>
J J JJ J end repeat
>
J J Jend repeat
>
J end repeat
>
end repeat
This woks so much faster than the roundabout method I had, thanks! I had a
complicated system of using lists and strings. It wasn't pretty at all.
Actually I am in America but doing a project for a German firm and wasn't
really thinking about the fact that I wasn't giving any background. There
are six extra letters in the German alphabet which are the five umnlauted
vowels and the ess-tset (which looks like an oversized B). It turns out
this is for the web so I don't have to worry about them at all. Praise God!
Thanks again for your help! When I finish I will post the entire thing. It
should look interesting.
xfer
_______________________________________________________
Kostenlose E-Mail von Excite
http://inbox.excite.de/