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 Jul 19, 2018

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
  • Attach files
  • Guest
    Reply
    |
    Jan 3, 2022

    And now, more than THREE years later... it still needs a review?? Please...

  • Guest
    Reply
    |
    Sep 2, 2018

    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 )
  • Guest
    Reply
    |
    Jul 19, 2018

    Sorry, originally from Thomas Bahn