replaceText
-= JB =-
sundown at pacifier.com
Sun Jun 7 15:30:21 EDT 2009
Hi Mark,
error 573 handler can't find handler
-=>JB<=-
On Jun 7, 2009, at 12:24 PM, Mark Schonewille wrote:
> JB, what error?
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> Snapper Screen Recorder 2.0.1 http://snapper.economy-x-talk.com
>
> If you sent me an e-mail before 15 May and haven't got a reply yet,
> please send me a reminder.
>
>
>
> On 7 jun 2009, at 21:20, -= JB =- wrote:
>
>> The Rev dictionary shows the following two forms for replaceText,
>>
>> replacetext("malformed","mal","well") -- returns "wellformed"
>> replacetext(field "Stats",return,comma) -- makes comma-delimited
>>
>> Let's say I want to replace the text "Hello world" in fld id 1004
>> with "Another Day"
>>
>> I put "Hello world" into findWords
>> I put "Hello world" into replaceWords
>> I put "Another Day" into newWords
>>
>> then I use the line below,
>>
>> replacetext(fld id 1004, findWords, replaceWords, newWords)
>>
>> I get an error. One thing that is confusing is I am trying to use
>> the 1st form of
>> replaceText which is,
>>
>> replacetext("malformed","mal","well")
>>
>> but this form does not designate the field the text to be replaced
>> is in so
>> I added it like it is shown in the 2nd form of replaceText.
>>
>> What is the proper way to use replaceText since I keep getting an
>> error?
>>
>> regards,
>> -=>JB<=-
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list