How to create enumerated data type in zLogic?

How to create enumerated data type in zLogic?

I would like to create enumerated data type like
NAME INT
PHASE_IDLE 0
PHASE_START 1
PHASE_IN_PROG 2
PHASE_STOP 3

But I'm not sure how to do that?



This is a migrated post! Originally posted on 17.08.2021 by user milosh. Please be aware that information can be outdated.