Welcome to the #dominoforever Product Ideas Lab! 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 jointly by the IBM & 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.


Add method overloading to LotusScript

We've only been asking for this since 1995 ...

In OO languages you can usually create more than one method with the same name, but different signatures, that is different sets of parameters. This is called method overloading.
 
This way you could e.g. create more constructors (one without, the other with parameters) or overload a method like add of a container:
List.append(Integer) ' appends one number
List.append(List) ' appends the whole list
  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jul 19 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    19 Jul 06:38

    Sorry, originally from Thomas Bahn

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    02 Sep 10:34

    Or at least support for a variable number of parameters:

    • Function Print( s… as string) can be called with Print( “Hello” ) or Print( “Hello”, “World”, name )