enum

Description Syntax Parameters Returns Example
Defines a list of values. enum(values, col, header) values: array of strings (1 to n).

col: number of columns (optional).

header: specifies if first row of data is description of columns (optional)

HEADER_YES, HEADER_NO.

Array of values. enum({'FA<sep/>Farenheit', 'CE<sep/>Celcius', 'KA<sep/>Kelvin'}, 2)

enum({’TEMP_UNIT’, 'FA<sep/>Farenheit', 'CE<sep/>Celcius', 'KA<sep/>Kelvin'}, 2, HEADER_YES)

enum({'FA<sep/>Farenheit', 'CE<sep/>Celcius', 'KA<sep/>Kelvin'}, 2, HEADER_NO)