Anyone how knows the LotusScript error “Duplicate option”? I have been unable to find anything on developerWorks or on Google. Nothing fancy being done – vanilla LotusScript in a shared action with reference to a script library.

Anyone how knows the LotusScript error “Duplicate option”? I have been unable to find anything on developerWorks or on Google. Nothing fancy being done – vanilla LotusScript in a shared action with reference to a script library.

Comments are closed.
Isn’t that when you have “Option Public” twice in the Declarations, or conflicting “Option Compare” declarations or something? I’ve got that once or twice as a compile-time error, but never at runtime.
That’s what I thought as well but “unfortunately” that wasn’t the case. I’m leaning against it being a compatibility issue with me developing in Domino Designer 7.0.2 and the users being on Notes 6.5.5. I have created a new template in the meantime where I re-saved all design elements in Domino Designer 6.5.5 to see if that’s the reason.
Not sure on the error message but… bear in mind that share actions are not checked by the compiler (even with opt decl specified) since the compiler can’t know what code is available at run-time. So you might see errors at runtime you normally see during compile.
i did have the same problem.
which was caused by a "use" of library ‘a’ in the globals and the use of a scriptlibrary ‘b’, which is also in the "use" of library ‘a’, in multiple lotusscrip hotspots and/or actions