How can I reuse code by calling an LSX file?

How can I reuse code by calling an LSX file?

I need some information about creating my own LSX files. I would like to export the code and I just want to reuse that code by calling the LSX file.

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

The LSX toolkit, which you can download from the Lotus Web site, contains tools and documentation that shows how to create your own LSX libraries. However, from your talk of "exporting" the code, it sounds like you want to turn your LotusScript code into an LSX. Your LSX source code would actually need to be in C or C++; LotusScript can't be compiled into an LSX. It's much easier to reuse LotusScript code by making it into a script library or an include file, since that doesn't require installation on each workstation that runs the code!

This was first published in October 2003