Replace in Vars's

hershrev hershbp at realtorsgroup.us
Thu Feb 26 17:31:27 EST 2004


On Thursday, February 26, 2004, at 05:00 PM, Dar Scott wrote:

>
> On Thursday, February 26, 2004, at 02:45 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.

>
> See 'replace'.
>
> Do you mean changing the value of a specified element in an array to 
> that of another element?
>
>    put athirdVar[anotherVar] into athirdVar[oneVar]
>
> Dar Scott
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list