Newlisp:
SQLite:Integers are 64-bit numbers (including the sign bit, 32-bit before version 8.9.7). Valid integers are numbers between -9,223,372,036,854,775,808 and +9,223,372,036,854,775,807.
sqlite.lspINTEGER. The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value.
Code: Select all
SQLITE_INTEGER
(push (sqlite3_column_int pstm i) row -1))
Code: Select all
* int* sqlite3_column_int(sqlite3_stmt*, int iCol)
Code: Select all
(SQLITE_INTEGER
(set 'pstr (sqlite3_column_text pstm i))
(if (= pstr 0)
(push nil row -1)
(push (int (get-string pstr)) row -1)))