Yes, I'm using parseEnum
proc findBrokerEnum(txt: string): MyBrokerTypes =
try:
result = parseEnum[MyBrokerTypes](txt)
except:
printf("MyBrokerType not found %s\n",txt)
quit(QuitFailure)
Run
- Example use of enum with set - doesn't work - yet bobg
- Re: Example use of enum with set - doesn't work - yet lux
- Re: Example use of enum with set - doesn't work - yet bobg
- Re: Example use of enum with set - doesn't work - yet lux
- Re: Example use of enum with set - doesn't work - ... bobg
