Replies: 1 comment 4 replies
-
The second example is something we do intentionally, but typically with value 0, e.g.:
BUT in combination with Maybe, we could have a warning when |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Next piece of code is a bit strange concerning creating an enum:
An enum with empty name and a caption filled in, like value 0: this is strange, because you cannot select this in de GUI and you cannot use this in AL Code.
An enum with the name filled in and an empty caption, like value 1: this is also strange, this is not selectable in the GUI, allthough you can handle this in AL Code.
So in case of enum 0 and 1, a warning can be helpful to get your focus on this.
Looking forward to your opinion.
Beta Was this translation helpful? Give feedback.
All reactions