[Gambas-user] Release of Gambas 1.9.24

Rohnny Stormo rohnny at ...1248...
Sat Feb 4 16:13:31 CET 2006


When I make it result in this error.
sult.c  -fPIC -DPIC -o .libs/CResult.o
CResult.c: In function 'CRESULT_delete':
CResult.c:671: error: syntax error at end of input
CResult.c:651: warning: unused variable 'pos'
CResult.c:648: warning: unused variable '_p'
make[5]: *** [CResult.lo] Error 1

----

BEGIN_METHOD(CRESULT_delete, GB_BOOLEAN keep)

  DB_INFO *info = &THIS->info;
  long *pos;

  if (check_available(THIS))
    return;

  q_init();

  switch(THIS->mode)
  {
    case RESULT_CREATE:

      void_buffer(THIS);
      break;

    case RESULT_EDIT:

      q_add("DELETE FROM ");
      q_add(THIS->driver->GetQuote());
      q_add(info->table);
      q_add(THIS->driver->GetQuote());
      q_add(" WHERE ")

^^^^^^^
Is there something missing here?
}
END_METHOD

or maybee something more?



Rohnny


-- 
-----------------------------------------
Gambas brings Basic to Linux.
My Gambas Community http://forum.stormweb.no





More information about the User mailing list