File: db_quote.kbs

package info (click to toggle)
basic256 0.9.6.69a-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 26,304 kB
  • sloc: cpp: 7,778; yacc: 926; lex: 575; sh: 21; makefile: 7
file content (8 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
dbfile$ = "db_quote.sqlite3"
e = exist(dbfile$)
dbopen dbfile$
if not e then
  # create table and a few entries if file does not exist
  dbexecute "create table quote (id integer primary key, saying text, author text);"

end