Currently, the STRMENU function has the signature:
OptionNumber := Dialog.StrMenu(OptionMembers: Text [, DefaultNumber: Integer] [, Instruction: Text])
The first parameter is a text string that contains one or more substrings separated by commas. The language then splits the OptionMembers on commas for further processing - basically using it as a list.
Since AL now supports Lists, I suggest to add an overload for the function:
OptionNumber := Dialog.StrMenu(OptionMembers: List of [Text] [, DefaultNumber: Integer] [, Instruction: Text])
** nb: the pair of square brackets in the first parameter declaration does not indicate an optional value **
This could potentially also allow for commas in the texts, something that currently is not possible.

Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team