Problems writing a Script ! Pls HELP !
    Bruce Axtens 
    bruce_axtens at yahoo.com.au
       
    Fri Jun 18 13:00:44 EDT 2004
    
    
  
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.
[not proper code]
 put offset of "s" in theAlphabet into theOffset
 put item theOffset of theMorse into theTranslation
[/not proper code]
Then theTranslation can be appended to the output.
 
HTH,
Bruce. 
---------------------------------
Find local movie times and trailers on Yahoo! Movies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.runrev.com/pipermail/metacard/attachments/20040618/55d92ba8/attachment.htm
    
    
More information about the metacard
mailing list