Topic complex |
Table functions |
Function |
maxlabel() |
Short |
Number of data fields (columns) in a table |
Syntax |
MAXLABEL(db : INTEGER) : INTEGER |
Parameter |
db : table handle from OpenDB |
Return |
Number of data fields (columns) |
See also: |
|
Description |
Example: output structure of a table
VAR i, db : INTEGER;
...
i:=0;
WHILE i++<=MAXLABEL(db) DO
cgiwriteln(GetStructure(db,i))
END;
|