Problems writing a Script ! Pls HELP !

Wilhelm Sanke sanke at hrz.uni-kassel.de
Thu Jun 17 22:26:23 EDT 2004


On Wed, 16 Jun 2004, Riddbaba at gmx.de wrote:

> (snip)   
> repeat for each word w in filecontent
>       if "a" is in field "standardtext"  then
>         put ".- /" into field "morsetext"
>       end if
>       if "b" is in field "standardtext" then
>         put "-... /" into field "morsetext"



Seems to me that using the "replace" command is much faster than looping 
over each a,b,c etc. - especially for longer texts.

replace "a" with ".- /" in filecontent
replace "b" with "-... /" in filecontent
etc.

Alles Gute,

Wilhelm Sanke



More information about the metacard mailing list