#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

Improve "Automatically Add 'Option Declare '"

It just doesn't work right, this option, especially when I have to update an older form that didn't have the Option Declare in it. The code in a button on the form contained a non-declared variable. Customer not happy, me not happy. I don't even want to see Option Declare added to the code, it must be implicit, I need a compiler that checks as much as possible, like in any decent language.


Please add an option in the Designer Preferences, under LotusScript, that's called "Enforce 'Option Declare' Everywhere".

  • Guest
  • Aug 9 2022
  • Needs Review
  • Attach files
  • Guest commented
    10 Aug 03:06pm

    Just to explain a little further: the idea is just to create a configuration option somewhere, it might be called Strict Compilation in the Database Properties, which should work the same as adding Option Declare in all scopes of LotusScript code in an application.

  • Guest commented
    10 Aug 02:08pm

    Perhaps the feature you are asking for is an application based parameter? This way the option declare parameter is utilized when being accessed from other Designer clients for compile consistency?