Method Data()
Syntax
:Data( xData, [lBR], [lWrite] )
Parameters
|
|
xData |
Data of any Type. If an array is passed, a Two-Dimensional Array is the Maximum. |
|
|
lBR |
Logical indicating whether to append a <BR> (Web newline) to Display elements |
|
|
lWrite |
Logical indicating whether to send results directly to the User's Browser |
Return
If :lWrite, Number of characters written to Browser.
Otherwise, the results is the completed <TR><TD> (Data Grid) Tag.
Description
The :Data( ... ) Method will create the appropriate <TR><TD> ..., </TD></TR> ( Data Column and Row ) Tag pairs for the Data passed to the Method.
The Method will convert all data passed to it, to Character Type prior to including it in the imbedded <TD> tags.
Based on the type of Data passed, it is possible to have multiple <TD></TD> pairs within each Row.
If the Data passed is other than an Array, the Data is presented between a single <TR><TD> and </TD></TR> Tag structure.
See Also:
:TableStart(), :Cell(), :Row()
![]() |