listToEnum(a)

Converts a text array into an enum.

list to enumlist to enum


Syntax

o_listToEnum(a)
a: text array- value to be converted
return: enum with values matching the text array

Usage

Use this to easily generate enums, including within expressions.

Location

menu: veeos ==> Data ==> Conversion ==> listToEnum

library: dataLib

Example

o_listToEnum(["one","two","four"]) returns an enum with three values

Notes

Reference

Dependencies

Supported On

VEE 7.0+, all platforms

See Also

toBinStr8, toBinStr16, toBinStr32, toBinStr64, toBinStrN, hexToInt, toUInt8, toInt32, enumToList


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 February 2023 13:04.