Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return a column's data type.

type of column COL_ID of TABLE_NAME

COL_ID

The identifier of the column.

TABLE_NAME

The identifier for a table.

Description

Use this built-in function to return the data type for a column as one of the following strings: "integer", "float", "string", or "boolean".

Example

 

# Edit cell, if not a boolean column

if (type of column (xcoord) of object != "boolean") then

 copy "on double click: make " object " edit" to MsgStr

 action SendMsg

 make object edit

See Also

table Object Definition