en:dbint [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:dbint

## DBInt (Function)

### Format

dbint ( numeric_expr )
dbint ( database_number , numeric_expr )
dbint ( database_number , recordset_number , numeric_expr )
dbint ( string_expr )
dbint ( database_number , string_expr )
dbint ( database_number , recordset_number , string_expr )

returns integer_value

### Description

Return an integer value from the specified column number or name of the current row of the open recordset. If the field is a NULL value the integer number 0 will be returned. NULL may be tested for by using the DBNull function.

### Example

See example of usage on DBOpen page.

### See Also

DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBNull, DBOpen, DBOpenSet, DBRow, DBString. Freedb, Freedbset

### External Links

More information about databases in general and SQLite specifically can be found at SQLite Home Page and SQL at Wikipedia.

### History

0.9.6y | New to Version
0.9.9.19 | Added ability to have 8 database connections
0.9.9.22 | Added column name or alias

en/dbint.txt · Last modified: 2014/02/08 12:21 by admin