$$ScriptName?

Can anybody tell me the work of $$ScriptName n Where it is used?

Subject: RE: $$ScriptName ?

When you compile the script on a form, the object module is given a name which includes the name or alias of the form. At runtime, that name needs to be known so that the object module can be loaded. However, we want to be able to rename the form without recompining the code (for instance, by editing the name from the Designer view). Therefore we record the object name used at the time of the compile in the $$ScriptName item. If this field is missing or incorrect, the correct object name might not be determined when the form is loaded. The consequence is poor performance, as the LotusScript interpreter searches all the script libraries in an application and/or recompiles all code every time the form is used. Also, such a form might not be usable in a hidden design, because the source code is not there to be recompiled.

We recently fixed a bug that would cause the wrong object name to be stored for many forms by Recompile All.