What you can do is to define a proc

proc q { str } {
    return [format {"%s"} $str]
}

In the ttml page, you can
hputs "<table bordercolor=[q $color] border=[q 1] cellspacing=[q 0] cellpadding=[q 0]>"
 

--
CHAN CHI HUNG
ASP Centre
Unit 216, NTU Innovation Centre
16 Nanyang Drive, Singapore 637722
Tel: +65 790 4420    Fax: +65 316 0042
Email: [EMAIL PROTECTED]
URL: www.aspcentre.org
 
 

yahalom emet wrote:

Hello how do you make this kind of hputs efficient: hputs "<table bordercolor=\"$color\" BORDER=\"1\" CELLSPACING=\"0\" CELLPADDING=\"0\">" all this protection on questes is tedious. can threre be a mechanism of automatic quetation?  Yahalom Emet
Software Developer
Xor Technologies Ltd.

Reply via email to