Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipX.Lib v1.2 - <b>tabledata()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
TableData()
Writes wrapper for a complete Table
------------------------------------------------------------

Syntax:

  TableData( [<cTblAttr>], aValue )  --->  lSuccess

Arguments:

  [<cTblAttr>] is a character string of attributes for the Table tag.

  <aValue> is a multi-dimensional data array.

Returns: A logical value

Description:

  Writes a complete Table section on the page.

  [cTblAttr] defines the table attributes.

  aValue is a multi-dimensional array containing the data to be
  placed in the table cells.

Examples:

  ...

  local A1 := "001 $500"
  local A2 := "001 $300"
  local B1 := "002 $150"
  local B2 := "002 $700"
  ...

  Example 1  A table with no borders takes on the look of a report
    TableData( 'CELLSPACING="2" CELLPADDING="2"', {{A1,A2},{B1,B2}} )

  Example 2  Table with borders
    TableData( 'border="1" CELLSPACING="2" CELLPADDING="2"',{{A1,A2},{B1,B2}} )

Files: Library is ClipX.Lib

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson