html.table.new

Syntax html.table.new (border, cellspacing, cellpadding, cols, method)

Params border is a number, the width of the border around the rendered table. Default is 0.

cellspacing is a number, the amount of cellspacing to use in the rendered table. Default is 0.

cellpadding is a number, the amount of cellpadding to use in the rendered table. Default is 0.

cols is a number, the number of columns in the table. More columns can be added to the table after calling this verb. Default is 1.

method is a string specifying the method to use when rendering the table. Default is "html."

Action Creates storage for a Frontier table that will be later rendered via the specified method.

Returns An address, the address of the storage for this table.

Examples html.table.new ()

   » @system.temp.html.tables.["160"]

html.table.new (cellspacing:6, cellpadding:8)

   » @system.temp.html.tables.["161"]

Notes This verb is new in Frontier 6.1.

While the html.table verbs are thread-safe, one thread may build only one table at a time. A call to html.table.new should always be balanced by a call to html.table.delete.

See Also html.table.delete

html.table.render

Discuss