replaceText usage

Mike Bonner bonnmike at gmail.com
Wed Nov 16 09:14:40 CET 2016


I have a feeling you're trying to do something that I'm missing but I'll
give it a shot..

you put line QOUNT into variable processt.. but then you don't actually use
the variable. If you're wanting to actually change the line itself you
would need to do replace "unicodeText" as the first parameter with
PROCESST, and since its a function you need to do something with the
output, so you can combine the 2 last lines and end up with..
put replaceText(PROCESST,"unicodeT","t") into line QOUNT of fld "fSSS1"

As it is, (assuming you get replactext("unicodeText","unicodeT","t") ) you
replace text in the string unicodeText.

On Wed, Nov 16, 2016 at 12:55 AM, Richmond <richmondmathewson at gmail.com>
wrote:

> Would be grateful if someone could tell me why this is NOT working:
>
> put line QOUNT of fld "fSSS1" into PROCESST
>  replaceText("unicodeText","unicodeT","t")
> put PROCESST into line QOUNT of fld "fSSS1"
>
> Oh, and, by the way, the URL for PERL reference here
>
> https://livecode.com/resources/api/#livecode_script/replacetext
>
> seems to be a dud.
>
> Richmond.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list