enum

enum, keyword

The enum keywork is used to introduce a complex data type.

table enum Countries = "BE", "FR", "UK", "US"

show table "Countries" a1b4 with
  text(Countries.Value)
  "(\{Countries.Label})"
 
be = enum.Countries("BE")
show scalar "Belgium" c1 with text(be)