Curl/Example 2

{curl 5.0, 6.0 applet} || an example in the declarative style {Table {row-prototype "Name", "Description", "Cost"}, {row-prototype "Apple", "A red fruit", "25"}, {row-prototype "Banana", "A yellow fruit", "25"}, {row-prototype "Orange", "A reddish-yellow fruit", "50"} } |* Another way to comment This is HTML to do the same thing     *|

This displays a table just like the declarative HTML inside the Comment.

Lines 1 - 4 are standard.

Line 5 declares a new table.

Lines 6 - 9 put the values into four rows

Line 10 ends the table.