Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

TELITAB2HTML$ returns TELITAB2HTML$ returns a HTML table for a given TeLiTab set

Syntax

  1. TELITAB2HTML$(TeLiTab$, "NullString", Option%)

...


2   "A" "B"
"1"    1   2
"2"    2   4
"3"    3   6
"4"    4   8
"5"    5  10
"6"    6  12
"7"    7  14
"8"    8  16
"9"    9  18
"10"  10  20

Relation:

HTML_C0#=TELITAB2HTML$(C0#,"NullString",0)

will return for HTML_C0# (in text):

...

If you would use the following relation to create an HTML table of the two lists, two separate HTML tables will be created:

HTML1#=TELITAB2HTML$(C1#,"NullString",0)+TELITAB2HTML$(C2#,"NullString",0)

Resulting into:

...

For sure you can doe this by first carrying out a union on the two sets using the UNION#() function. However, you can also present the two tables into one HTML table by using Opion%=1 in combination with an HTML table tag in front and closing tag at the end:

HTML1#="<table>" + TELITAB2HTML$(C1#,"NullString",1)+TELITAB2HTML$(C2#,"NullString",1) + "</table>"

...