 |
|
BaselScript |
Beschreibung
Table functions
All names of these functions are prefixed with tables.
Get counter of fields
$tables.fields_counter(table name)
Example:
#c=$tables.fields_counter(example_person)
Result: #c=5
Exist table
$tables.exist(example_person)
Example:
#c=$tables.exist(example_person)
Result: #c=1
Get field name
$tables.field_name(table name,number)
Example:
#c=$tables.field_name(example_person,1)
Result: #c=#first
Get user field name
$tables.field_user_name(example_person,1)
Example:
#c=$tables.field_user_name(example_person,1)
Result: #c="First name"