256
General Discussions / Re: sb buoy plot
« on: April 09, 2014, 09:17:56 PM »
Do you have the libSDL_gfx.so in the /usr/lib and SDL 1.2 (64 bit) installed?
Forum Registration Disabled - Send a request to support@scriptbasic.org to join the forum.
User Guide
Developers Guide
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Yes, I did start SBHTTPD with ADMIN privileges.

import sqlite.bas
db = sqlite::open("testsql")
sqlite::execute(db,"create table demo (someval integer, sometxt text);")
sqlite::execute(db,"insert into demo values (123,'hello');")
sqlite::execute(db, "INSERT INTO demo VALUES (234, 'cruel');")
sqlite::execute(db, "INSERT INTO demo VALUES (345, 'world');")
stmt = sqlite::query(db,"SELECT * FROM demo")
while (sqlite::row(stmt) = sqlite::SQLITE3_ROW)
if sqlite::fetchhash(stmt,column) then
print column{"someval"},"\t-\t",column{"sometxt"},"\n"
end if
wend
sqlite::close(db)
IMPORT zlib.bas
zlib::gzip "customer.sb", "customer.gz"
