Skip to Main Content
HCL Domino 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

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on May 30, 2019

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

  • Attach files
  • Guest
    Reply
    |
    Jun 17, 2019

    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