# enumToList(a)

Converts a text array into an enum.

### Syntax

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

### Usage

Use this to easily query enums to see what values they contain

### Location

menu: veeos ==> Data ==> Conversion ==> enumToList

library: dataLib

### Example

### Notes

While an enum is very useful, it is also somewhat opaque. That is, given an arbitrary enum there is no really easy way to see what the scope of possible values is. This function enables a very simple method by converting to a string array.

### Reference

### Dependencies

### Supported On

VEE 7.0+, all platforms

### See Also

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

© 2015-2021. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 09 August 2021 18:25.