Automatic conversion of parameters from type Boolean to type enumeration #3890
-
|
Assume we have a Of course we couly use a work-around: The user can specify |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To me it would seem that the following works: |
Beta Was this translation helpful? Give feedback.
To me it would seem that the following works:
convertModifiers("Class", {"b"}, {"myChoice=if %b% then .MyChoices.choice1 else .MyChoice.choice2"}, true);However, it doesn't work for code using the Boolean parameter.