Re: [Gambas-user] issues updated records in Sqlite3 database using edit()

2011-09-09 Thread Lonnie Headley
Just figured out my mistake, it was that in my database the column types were INTEGER and not INT4. Once I changed it to INT4 everything started working great. Sorry to bother! On Fri, Sep 9, 2011 at 10:45 PM, Lonnie Headley wrote: > I just started using the database component and I can't wrap my

[Gambas-user] issues updated records in Sqlite3 database using edit()

2011-09-09 Thread Lonnie Headley
I just started using the database component and I can't wrap my head around how updating entries from my database using db.edit(). I'm using Gambas 3 RC 3 on Ubuntu 11.04 x86. Here is some code, not an exact excerpt but assume that I have assigned valid values to each of the values of InputItem an

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-09 Thread Jussi Lahtinen
What's that supposed to do? Catch doesn't do catch anything since missing byref doesn't rise error! Jussi On Fri, Sep 9, 2011 at 22:51, Fabien Bodard wrote: > yes like : > > Private Function ModifyThat(byRef i as integer) as boolean > > i+=6*4 > > catch > return true > > end > > > > to use i

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-09 Thread Fabien Bodard
yes like : Private Function ModifyThat(byRef i as integer) as boolean i+=6*4 catch return true end to use it if not Modifythat(ByRef iMyVal) Then Print iMyVal sometime it can be usefull to catch the error in the calling function 2011/9/9 Jussi Lahtinen : > After I read what Fabie

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-09 Thread Jussi Lahtinen
After I read what Fabien wrote, I realised what you meant and I think you misunderstood my problem. My problem is *not *that I have to write byref to function declaration and to function call. My problem is that if I forget to write byref to function call, I will get silent bugs. I think either b

Re: [Gambas-user] TextEdit, and missing Link event

2011-09-09 Thread Benoît Minisini
> > Salut, > > coming back once again with that. > If you use hyperlink in TextLabel.Text say: > "http://gambas.sourceforge.net/en/main.html\";>gambas" > If you run, it is marked up as a link, the mouse cursor change if you > are passing over it and on right click a menu pops up with "Copy Link

Re: [Gambas-user] TextEdit, and missing Link event

2011-09-09 Thread Charlie Reinl
Am Sonntag, den 21.08.2011, 14:07 +0200 schrieb Benoît Minisini: > > Am Mittwoch, den 03.08.2011, 00:03 +0200 schrieb Charlie Reinl: > > > Am Dienstag, den 02.08.2011, 23:34 +0200 schrieb Benoît Minisini: > > > > > Salut, > > > > > > > > > > did not find in http://gambasdoc.org/help/doc/gb2togb3?v