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 Needs Review
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Aug 9, 2022

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.

So:

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

  • Attach files
  • Guest
    Reply
    |
    Aug 10, 2022

    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
    Reply
    |
    Aug 10, 2022

    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?