<P>Another way of handling the translation, rather than with a whole pile of 'if's whould be to do something like this: Put the alphabet and numbers into a variable. Put the morse equivalents separated by comma into another variable. With each of your source characters get the offset of that character in the first variable and use it to extract the morse code from the second variable.</P>
<P>[not proper code]</P>
<P> put offset of "s" in theAlphabet into theOffset</P>
<P> put item theOffset of theMorse into theTranslation</P>
<P>[/not proper code]</P>
<P>Then theTranslation can be appended to the output.</P>
<P> </P>
<P>HTH,</P>
<P>Bruce. </P><p><br><hr size=1>
Find local movie times and trailers on <a href="http://au.rd.yahoo.com/mail/tagline/*http://au.movies.yahoo.com" target=_blank><b>Yahoo! Movies.</b></a><br>