Is it possible to create a Case-statement for an option/enum where all members are automatically listed? Such a feature exists in C#, but I would find it very nice for AL too.
Example:
Enum Prize with three values bronze, silver and gold.
When typing Case Prize of...
I would like to have the option to fill the Case like this:
Case Prize of
Bronze:
begin
end;
Silver:
begin
end;
Gold:
begin
end;
end;
When having to write code for enums with lots of members in it this feature would save lots of time.
Is it possible to create a Case-statement for an option/enum where all members are automatically listed? Such a feature exists in C#, but I would find it very nice for AL too.
Example:
Enum Prize with three values bronze, silver and gold.
When typing Case Prize of... I would like to have the option to fill the Case like this: Case Prize of Bronze: begin end; Silver: begin end; Gold: begin end; end;
When having to write code for enums with lots of members in it this feature would save lots of time.