Global variables (and a bug that need fixing)

Sorry if I placed the message in the wrong product- and/or technical area, or in the wrong forum alltogether.

I’ve read through some of the posts in this forum, and I second all the suggestions regarding improvements to LotusScript.

One thing I have not seen mentioned is global variables. Is there any chance that true global variables will be added to LotusScript? I’m thinking of variables that are accessible outside the module they are defined in. If not; why?

The bug I mention in the heading is really annoying, and has been around since 6.5.x (and probably before). It might also be fixed in 8.5 but I’ve not been able to try it out.

It works like this:

A form has an embedded view/folder.

The view, or the documents in the view, runs some LotusScript code on user interaction that in turn calls refresh() on the uidocument containing the view (by calling notesUIWorkspace.currentDocument)

Notes crashes!

Some have suggested that the crash did not happen if single category was not set on the embedded view, but this is not my experience.

Subject: Issue has workaround

I believe you’re referring to the issue reported in spr#JGON5DWM3S, which has a workaround. Proposed fix (if approved) may only be to stop the crash and produce an error, so please use the workaround if you’re having this issue.