[EMAIL PROTECTED] wrote:
> I'd like to write somthing.  Um, how 'bout a script which churns out
html table rows and columns...

Using %HTML.r, available at http://www.rebol.org, this style is
available now:

Table [] [
        TR [] [
                TD [] ["Data 1.1"] TD [] ["Data 1.2"]
                ]
        TR [] [
                TD [] ["Data 2.1"] TD [] ["Data 2.2"]
                ]
        ]

And, in the very near future, this:

Table [
        "Data 1.1" "Data 1.2"
        "Data 2.1" "Data 2.2"
        ]

Both of the above will generate similar HTML code. And just to show
people that this code works, here's the result of running it in REBOL
2.1.90.3.1 after 'do-ing %HTML.r:

>> Table [] [
[    TR [] [
[        TD [] ["Data 1.1"] TD [] ["Data 1.2"]
[        ]
[    TR [] [
[        TD [] ["Data 2.1"] TD [] ["Data 2.2"]
[        ]
[    ]
== {
<TABLE>
<TR>
<TD>Data 1.1</TD>
<TD>Data 1.2</TD></TR>
<TR>
<TD>Data 2.1</TD>
<TD>Data 2.2</TD></TR></TABLE>}
>>

Andrew Martin
Making life simple, but not simplistic...
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
Online @ 33,600 Baud!
-><-

Reply via email to