Also : type MajorType* = enum mtPositiveInteger mtNegativeInteger mtBinaryString mtUnicodeString mtArray mtMap mtSemantic mtSpecial const id_key = [ mtPositiveInteger: 0, mtNegativeInteger: 1, mtBinaryString: 2, mtUnicodeString: 3, mtArray: 4, mtMap: 5, mtSemantic: 6, mtSpecial: 7 ] echo id_key[mtSpecial] Run
- custom pragmas are not supported for enum fields icedquinn
- custom pragmas are not supported for enum fields PMunch
- custom pragmas are not supported for enum fields Calonger