Re: Rock Band Clone - Update
- Posted by Lone_EverGreen_Ranger Nov 29, 2011
- 1353 views
ghaberek said...
How's this?
if db_select(SongDB) != DB_OK then puts(1,"Could not select database\n") if db_open(SongDB, DB_LOCK_NO) != DB_OK then puts(1,"Could not open database\n") if db_create(SongDB, DB_LOCK_NO) != DB_OK then puts(1,"Database could not be created\n") abort(1) end if end if end if if db_select_table(SongTable) != DB_OK then puts(1,"Could not select table\n") if db_create_table(SongTable) != DB_OK then puts(1,"Could not create table\n") abort(1) end if end if if db_insert(song_title,{SONG_TITLE}) != DB_OK then puts(1,"Could not insert song table\n") abort(1) end if db_close(SongDB)
-Greg
Thanks, but it still didn't work, I copied it word for word. All the errors that say could not select database, table, etc all appeared when I tried to run the program.