On 9/20/20 10:55 AM, Mark Wieder via use-livecode wrote:
On 9/20/20 7:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote:
Eureka! So easy, now to get back to the htmlText as per the code

if the htmlText of field "mainText"  then
       put the htmlText of field "mainText" into field "mainText"
    else
       set the htmlText of field "mainText" to field "mainText"
   end if

we wonder how easy it to tell that "if" the clause is telling it is "true"

  if (set the htmlText of field "mainText" to field "mainText") then

does not work

if field "mainText" is not empty then


I think Swami wants a toggle, so it's likely the field won't ever be empty.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
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