html

Brian Yennie briany at qldlearning.com
Wed Jun 2 18:52:30 EDT 2004


> If the prompt contains <p> or a start/end tag pair, the
> answer command assumes the text is in the same format as the htmlText
> property. Otherwise, the answer command assumes the text is plain text.
<pre>

I think this is the part that you missed, albeit maybe a bit obscure: 
you _must_ enclose your text in "<p>" and "</p>" in order for it to be 
interpreted as html.

So you're doing everything right in the first place, you just need to 
enclose your message in those tags.

Try:
answer "<p><b>This is the answer!</b></p>"

</pre>

HTH,
Brian



More information about the use-livecode mailing list