Given the following descriptions, is there a way to get an enum value (like jt_one) from a string value (like "one")?
type TJOBTYPEENUM =(jt_one, jt_two, jt_three); CONST JOBTYPEStrings : ARRAY [jt_one..jt_three] OF STRING = ('one','two','three');
Or do I need to create my own function using a nested set of if statements?
NOTE. I am not looking for the string "jt_one"
source share