Re: [GRASS-user] db_fetch questions

2008-03-20 Thread Markus Neteler
Jaime, I don't know too much how this works but best it to look at working implementations. [EMAIL PROTECTED] vector]$ grep db_fetch */* v.db.select/main.c: if(db_fetch (cursor, DB_NEXT, more) != DB_OK) v.digit/generate.c:if ( db_fetch (cursor, DB_NEXT, more ) != DB_OK ) {

Re: [GRASS-user] db_fetch questions

2008-03-20 Thread Jaime Carrera
Hi Moritz, Yes... that one works too; I overlooked it. Now its more clear for me how it works. Thanks, Jaime Moritz Lennert [EMAIL PROTECTED] escribió: On 20/03/08 14:31, Jaime Carrera wrote: Hi Markus and Moritz, Thanks for your suggestions; I tried another loop (the one from v.in.db)