On 20 December 2011 22:37, <dirkmay...@comcast.net> wrote: > Hi all - > Couldn't make the database package work, and after a reasonable amount of > googling I concluded I was not the only one.
I never used this package and I don't think I'll have the need to in any near future. Are you able to indetify what's broken in the current package? Did you only try the latest release or is the development version also broken? Would be nice if it was fixed. > As a solution I made my own .oct file that queries SQLite & returns a cell > array of the results; kudos to SQLite's "amalgamation" file and Octave's > "mkoctfile." > > - is this the right forum to ask the next 2 questions? > - is anyone interested in connecting SQLite to octave? > - what's my next reasonable step (if any): make a package, post code > somewhere (here?), or... ? The next step would be include your code in the database package. You can use the tracker at sourceforge https://sourceforge.net/tracker/?group_id=2888&atid=352888 On 21 December 2011 08:34, Paul Dreik <sl...@pauldreik.se> wrote: > Hi, no you are certainly not the only one! > I have also made an sqlite octave package, but only for private use. I > think it is wise to discuss on how to implement the interface to such a > toolbox. > * should one mimic the c interface? > * should one mimic the perl dbi interface? > * mimic the matlab database interface? > * make a new one? I think that cloning matlab API would be preferable. Being compatible and providing a drop-in replacement for matlab is one of the advantages of octave. Of course, this may or may not be feasible. However, if you are not using the same API, would be better to at least not use the same function names as matlab so as to prevent problems in the future (someone will try to to implement the matlab API and there will be conflicts). Carnë ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev