Replace in Vars's

Klaus Major klaus at major-k.de
Thu Feb 26 17:36:34 EST 2004


Hi hershrev,

> On Thursday, February 26, 2004, at 05:01 PM, Klaus Major wrote:
>> Hi hershrev,
>>> Hi every one ,
>>>  I need to replace oneVar with anotherVar in athirdVar  ?
>> What about:
>> ...
>>  replace oneVar with anotherVar in athirdVar
> compiler complains.
>> ...
>>
>> No fooling :-D
>>
>> Tested and works!

I scripted:

on mouseup
   put "www" into v1
   put "mmm" into v2
   put "www www hhh" into v3
   replace v1 with v2 in v3
   put v3
end mouseup

and found "mmm mmm hhh" in the msg...

???


What is in your vars?


Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list