Replace in Vars's

Dar Scott dsc at swcp.com
Thu Feb 26 17:57:28 EST 2004


On Thursday, February 26, 2004, at 03:31 PM, hershrev wrote:

>>>  I need to replace oneVar with anotherVar in athirdVar  ?
>>
>> Do you meant replacing all substrings equal to the value of oneVar 
>> with the value of anotherVar in some variable athirdVar?
>>
>>    replace oneVar with anotherVar in athirdVar
> compiler complains.
>
This works OK at my house with handler local vars.

Typo?  It should be "with" and not "wiht".

Sometimes a weird character shows up in the script and breaks 
compiling.  Try replacing [hee hee] the entire line.

If that fails, let us know the compiling error.

Dar Scott



More information about the use-livecode mailing list