Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can you work around some of the size limitations in LotusScript programs?

0
Posted

Can you work around some of the size limitations in LotusScript programs?

0

The 32/64k limit applies to all events within an object. An object is anything with its own events. Buttons, forms, fields, and agents are all separate objects and have their own 32/64k limits. For example, if you have code in the QueryOpen, PostOpen and QuerySave events within one form, all these count toward the form’s 32/64k limit because they are all events for the form object. Since there is no way to do a design synopsis which includes script, there is no easy way to figure out if you are at or near the limit. The only thing you can do is copy all the script from all the events for a particular object into a text file and then look at the size of the text file. This should APPROXIMATE the amount of compiled code (this is not a precise measure however). There are several possible ways to work around the problem depending on where you are running into the limit. 1) Put the script in an text file and use the LotusScript %include command to load it.

0

The 32/64k limit applies to all events within an object. An object is anything with its own events. Buttons, forms, fields, and agents are all separate objects and have their own 32/64k limits. For example, if you have code in the QueryOpen, PostOpen and QuerySave events within one form, all these count toward the form’s 32/64k limit because they are all events for the form object. Since there is no way to do a design synopsis which includes script, there is no easy way to figure out if you are at or near the limit. The only thing you can do is copy all the script from all the events for a particular object into a text file and then look at the size of the text file. This should APPROXIMATE the amount of compiled code (this is not a precise measure however). There are several possible ways to work around the problem depending on where you are running into the limit. 1) Put the script in an text file and use the LotusScript %include command to load it. This script is not counted toward

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123