Menu

Show posts

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.

Show posts Menu

Messages - jazper

#91
Thanks very much.  I had started with the full path, and had the same problem, that's why I changed it.  But I will try again.



Strangely, I can't get the 'Periodic table' from the NewLisp introduction to work either.



thanks again.
#92
Hi

I am learning NewLisp:  having imported data (csv) into Sqlite3, I can work fine within the Firefox and Sqlite3Explorer tools.  However from within Newlisp IDE, the error reported is "no such table: MonFriDown".  As I say, the table is there, and usable:  in NewLisp, database opens ok. Code follows:

(load (append (env "NEWLISPDIR") "\modules\sqlite3.lsp"))
(if (sql3:open "SimonsTownLine.sqlite3")
(println "database opened/created")
(println "problem:  " (sql3:error)))

(define (query sql-text)
(set 'sqlarray (sql3:sql sql-text)) ; results of query
(if sqlarray
(map println sqlarray)
(println (sql3:error) " query problem ")))

(query "select * from MonFriDown")

 (sql3:error)            
 (sql3:close)  


Does anyone have similar problems with SQLite3, or is there something wrong with my code?

regards