plugin.getCurDbIndex
The 'getCurDbIndex' function retrieves the position number of the currently working database.
- Prototype: plugin.getCurDbIndex();
- Parameters: None;
- Return Value: 0-based index of the current database, or -1 if no databases opened.
- Example:
alert(plugin.getCurDbIndex());