Re: [fpc-pascal] Use of TSQLite.Query method (sqlite3db unit)

2014-11-07 Thread Reinier Olislagers
On 06/11/2014 14:09, Maurizio Tomasi wrote: I was not able to find the documentation for TSQLite in the Free Pascal manuals. Am I missing something, or is it this the way the class is intended to be used? FYI: http://wiki.lazarus.freepascal.org/SQLite covers dataset-based sqlite support.

Re: [fpc-pascal] Use of TSQLite.Query method (sqlite3db unit)

2014-11-07 Thread Maurizio Tomasi
On Fri Nov 7 09:58, Reinier Olislagers wrote: FYI: http://wiki.lazarus.freepascal.org/SQLite covers dataset-based sqlite support. Hi Reiner, Thanks for the link, I hadn't found that page (I only Googled for free pascal TSQLite). However, I am even more puzzled than before! First, from

Re: [fpc-pascal] Use of TSQLite.Query method (sqlite3db unit)

2014-11-07 Thread Reinier Olislagers
On 07/11/2014 11:16, Maurizio Tomasi wrote: 3. Using the TSQLite3Dataset, which however seems to be restricted to Lazarus (at least, this is what I deduce from the tutorial: http://sqlite4fpc.yolasite.com/dataset-tutorial-1.php). I suppose it doesn't. The tutorial just uses Lazarus. However, I

Re: [fpc-pascal] Use of TSQLite.Query method (sqlite3db unit)

2014-11-07 Thread Joost van der Sluis
On 11/07/2014 11:16 AM, Maurizio Tomasi wrote: On Fri Nov 7 09:58, Reinier Olislagers wrote: FYI: http://wiki.lazarus.freepascal.org/SQLite covers dataset-based sqlite support. The point is that Lazarus is a no-option for me: all the programs I have developed in the last months are designed

Re: [fpc-pascal] Use of TSQLite.Query method (sqlite3db unit)

2014-11-07 Thread Maurizio Tomasi
Hi Joost and Reinier (sorry for the typo), Well, even in that case using Lazarus is possible. But what I do when I only have console-access is using the 'old-style'-Freepascal IDE. (fp) That's somewhat easier then vi when you are working on Pascal-files. Sure, I didn't say it is impossible,

Re: [fpc-pascal] Use of TSQLite.Query method (sqlite3db unit)

2014-11-07 Thread Sven Barth
On 07.11.2014 11:16, Maurizio Tomasi wrote: The point is that Lazarus is a no-option for me: all the programs I have developed in the last months are designed to be run on superclusters (using my own hand-made bindings to MPI). My workflow is: connect to the cluster front-end using SSH+GNU

[fpc-pascal] Use of TSQLite.Query method (sqlite3db unit)

2014-11-06 Thread Maurizio Tomasi
Hi to everybody, I am developing a small application that retrieves data from a SQLite3 file. Currently I am using the TSQLite class found in the unit sqlite3db. The Query method fills one of its arguments (Table) with the result of the query. Each string in the Table variable is a