put fld "TEXXT" into TEXXT
  if TEXXT contains "sugar" then
    replaceText ("sugar","sugar","sweetener")
end if
put TEXXT into fld "TEXXT"

doesn't work.

The dictionary entry does NOT say something like this:

replaceText TEXXT ("sugar","sugar","sweetener")

----------------------

tried:

if fld "TEXXT" contains "sugar" then
    replaceText ("sugar","sugar","sweetener")
end if

no joy there either.

???

Richmond.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to