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 Jul 7, 2023

Please identify LotusScript reserved word more correctly in Domino 11.0.x Designer


One customer use Domino Designer 11.0.x and defined a function with name DeclareObj

like following:


1 Function DeclareObj( count As Integer ) As Integer

2 DeclareObj = False

3 (省略)

4 DeclareObj = True

5 End Function


then he got a "Variable should be moved to declaration section" error and the above Lin4 and Line 5 were moved to declaration section.

After changed function name to some string which does not start with "Declare", the error does not occur.


We know that Declare is a reserved word in LotusScript for the following purpose:

-----------------------------

Declare statement (external C calls) (LotusScript® Language)

https://help.hcltechsw.com/dom_designer/10.0.1/basic/LSAZ_DECLARE_STATEMENT_EXTERNAL_C_CALLS.html

-----------------------------

But Domino Designer should not identify "DeclareObj" as a reserved word.


Please improve Domino Designer to identify reserved word more correctly.


Thanks!

  • Attach files
  • Admin
    Thomas Hampel
    Reply
    |
    Jul 11, 2023

    Did you open a support ticket for this problem already? If so, what is the ticket number?

    1 reply