Specific exceptions to LotusScript specifications
The following are specific differences between accessing Domino® Objects through either LotusScript® or COM.
| Class |
Exceptions |
Why |
|---|---|---|
| Entire class |
Not in COM |
|
| Entire class |
Not in COM |
|
| Entire class |
Not in COM |
|
| COM only |
||
| COM only |
||
| New |
Not in COM |
|
| Not implemented in COM (Note 1) |
||
| Not in COM (Note 2) |
||
| In COM, parameters 1 and 2 are optional |
||
| New |
Not in COM |
|
| In COM takes no parameters (Note 2) |
||
| Not in COM (Note 2) |
||
| Not in COM (Note 2) |
||
| Not in COM (Note 2) |
||
| Not in COM |
||
| Not in COM |
||
| Not implemented in COM (Note 1) |
||
| Not implemented in COM (Note 1) |
||
| COM only |
||
| COM only |
||
| New |
Not in COM |
|
| COM only |
||
| COM only (Note 2) |
||
| In COM, use NOTES_DATABASE instead of DATABASE due to a naming conflict |
||
| New |
Not in COM |
|
| COM only (Note 2) |
||
| COM only (Note 2) |
||
| COM only (Note 2) |
||
| COM only (Note 2) |
||
| New |
Not in COM |
|
| COM has optional second parameter, checkDups As Boolean = False, but it has no use currently |
||
| NotesDOMParser etal. |
All NotesDOM classes |
Not in COM
|
| Not inherited in COM (see Note 4)
|
||
| Not inherited in COM(see Note 4) |
||
| Not inherited in COM(see Note 4) |
||
| COM only (see Note 4) |
||
| Not inherited in COM (see Note 4)
|
||
| Not inherited in COM(see Note 4) |
||
| Not inherited in COM(see Note 4) |
||
| COM only (see Note 4) |
||
| COM treats as Sub not Function |
||
| COM only |
||
| COM only |
||
| New |
Not in COM |
|
| COM only |
||
| New |
Not in COM |
|
| COM only |
||
| New |
Not in COM |
|
| COM only |
||
| New |
Not in COM |
|
| COM only |
||
| Not in COM; obsolete in LotusScript |
||
| In COM, parameter 2 not optional; specify Nothing for default |
||
| Not in COM; obsolete in LotusScript |
||
| Not in COM; obsolete in LotusScript |
||
| COM only |
||
| COM treats as Sub not Function |
||
| COM treats as Sub not Function |
||
| COM treats as Sub not Function; COM has only 1 parameter, Obj As UNKNOWN |
||
| COM treats as Sub not Function |
||
| New |
Not in COM |
|
| No exceptions |
||
| In COM, parameter 1 optional and defaults to 1 |
||
| In COM, parameter optional and defaults to 1 |
||
| New |
Not in COM |
|
| In COM, parameter 2 optional |
||
| In COM, parameter 3 optional and defaults to 1 |
||
| COM only |
||
| No exceptions |
||
| NotesSAXParser etal. |
All NotesSAX classes |
Not in COM
|
| Not implemented in COM (Note 1) |
||
| Not implemented in COM (Note 1) |
||
| Not implemented in COM (Note 1) |
||
| COM only |
||
| COM only |
||
| Not implemented in COM (Note 1) |
||
| COM only |
||
| Not in COM
|
||
| COM only |
||
| Not in COM
|
||
| Not in COM |
||
| Not in COM
|
||
| COM only |
||
| COM only |
||
| COM only |
||
| Entire class |
Not in COM |
|
| Entire class |
Not in COM |
|
| Entire class |
Not in COM |
|
| Entire class |
Not in COM |
|
| Entire class |
Not in COM |
|
| COM only |
||
| COM has optional Long parameter for cache size |
||
| COM has optional Long parameter for cache size |
||
| COM has optional Long parameter for cache size |
||
| COM has optional Long parameter for cache size |
||
| COM has optional Long parameter for cache size |
||
| COM only |
||
| COM only |
||
| No exceptions |
||
| No exceptions |
||
| COM has optional second parameter, checkDups As Boolean = False, but it has no use currently |
||
| COM only (Note 3) |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| COM only |
||
| Entire class |
Not in COM
|
|
| Entire class |
Not in COM
|
Note 1: "Not implemented in COM" means that the code compiles but returns a "not implemented" run-time error.
Note 2: The LotusScript NotesDatabase methods Create, Open with parameters, OpenByReplicaID, OpenIfModified, and OpenMail are implemented in COM in NotesDbDirectory as CreateDatabase, OpenDatabase, OpenDatabaseByReplicaID, OpenDatabaseIfModified, and OpenMailDatabase.
Note 3: You can query and set this property, but it is not actually used.
Note 4: NotesXMLProcessor is not implemented in COM. NotesDXLExporter and NotesDXLImporter implement ExitOnFirstFatalError, Log, and LogComment, rather than inheriting them. NotesDXLExporter initiates processing with the COM-only Export method. NotesDXLImporter initiates processing with the COM-only Import method. Process, SetInput, and SetOutput do not exist in COM.