#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Rapid initialization of typed arrays

Like Javascript, for example:

Dim daysOfWeek() as String

daysOfWeek = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]

or

Dim coolNumbers() as Double

coolNumbers = [ 0, PI, 42, 666, 6174 ]

#####
I'm aware that we can already do something like...

daysOfWeek = Split("Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",",")

... but this only ever returns an Array of Strings. It would be nice to have arrays of other datatypes

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • May 30 2019
  • Needs review
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    17 Jun, 2019 09:28am

    I'd like to add a related wish -- Enhance the Dim statement by allowing to specify an initial value, like for example in Visual Basic:

    Dim quantity As Integer = 10