The maximum length of a LotusScript identifier is 40 characters. If LotusScript is generated from a Web service WSDL file, longer identifiers may be generated. E.g. because the names of the generated constants for enum are composed of two names from WSDL.
Allow longer identifiers in LotusScript. Maybe an optional directive.