Difference between revisions of "SQLAssigned"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function SQLAssigned(const DBIndex: Integer): Boolean; </source> ==Availability== SCAR Divi 3.31 > Current ==Description== Ret...") |
(No difference)
|
Latest revision as of 16:21, 10 February 2012
Definition
function SQLAssigned(const DBIndex: Integer): Boolean;
Availability
SCAR Divi 3.31 > Current
Description
Returns true if the entered index DBIndex represents an open SQLite3 database connection.
Example
var DB: Integer; begin DB := SQLOpen(LogsPath + 'test.db3', True); try WriteLn(SQLAssigned(DB)); finally SQLFree(DB); end; WriteLn(SQLAssigned(DB)); end.
Output:
1 0