Re: [Gambas-user] datediff problem

2015-08-01 Thread Alexie
Hi Benoit, I also found a bug with ToolBox, and sent the project to your gmail address ... Maybe it is something you can fix (hoping :-)). Regards, Alex 2015-08-01 18:16 GMT+02:00 Benoît Minisini : > Le 01/08/2015 17:52, Benoît Minisini a écrit : > > Le 01/08/2015 17:33, nando a écrit : > >> He

Re: [Gambas-user] datediff problem

2015-08-01 Thread Benoît Minisini
Le 01/08/2015 17:52, Benoît Minisini a écrit : > Le 01/08/2015 17:33, nando a écrit : >> Here's an example. >> >>Dim FirstDate as Date >> >>FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) >>Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok >>Print DateDiff(firstdate, Dat

Re: [Gambas-user] datediff problem

2015-08-01 Thread Benoît Minisini
Le 01/08/2015 17:33, nando a écrit : > Here's an example. > >Dim FirstDate as Date > >FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) >Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok >Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok >Print DateD

Re: [Gambas-user] mkinteger..and the reverse function

2015-08-01 Thread Ru Vuott
...or... if you want (to write more code) ** Public Sub Main() Dim s As String Dim i As Integer s = MkInteger(123456) i = Asc(s, 1) i += Asc(s, 2) * 256' &0100 i += Asc(s, 3) * 65536' &01 i += Asc(s, 4) * 16777216 ' &0100 Print i

[Gambas-user] datediff problem

2015-08-01 Thread nando
Here's an example. Dim FirstDate as Date FirstDate = Date(2015, 1, 1, 0, 0, 0, 0) Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day) 'o

[Gambas-user] Gambas 3.8 is out ~~~>Holidays!

2015-08-01 Thread Benoît Minisini
Hi, I have officially released Gambas 3.8. You will find the release notes there: http://gambaswiki.org/wiki/doc/release/3.8.0 I'm leaving Paris for two weeks now (actually tomorrow morning), so I hope there won't be too many problems. If some of you are there (I mean online) during these two

Re: [Gambas-user] Pre-release of Gambas 3.8.0

2015-08-01 Thread Adrien Prokopowicz
Le Sat, 01 Aug 2015 11:14:00 +0200, Benoît Minisini a écrit: > Le 01/08/2015 03:07, Adrien Prokopowicz a écrit : >>> >>> OK. But I need a database connection to be able to browse the available >>> databases. This is the reason why "mysql" is chosen, because normally >>> it >>> is always avail

Re: [Gambas-user] mkinteger..and the reverse function

2015-08-01 Thread Yahoo
Oups, sorry Olivier > Le 1 août 2015 à 05:09, Benoît Minisini a > écrit : > > Le 01/08/2015 09:40, Olivier Cruilles a écrit : >> hello, >> >> myInteger = Cint(val(myString)) >> >> Olivier >> >> >>> Le 1 août 2015 à 01:39, nando a écrit : >>> >>> I'm putting this out there... >>> >>> I'm

Re: [Gambas-user] Pre-release of Gambas 3.8.0

2015-08-01 Thread Benoît Minisini
Le 01/08/2015 11:14, Benoît Minisini a écrit : > Le 01/08/2015 03:07, Adrien Prokopowicz a écrit : >>> >>> OK. But I need a database connection to be able to browse the available >>> databases. This is the reason why "mysql" is chosen, because normally it >>> is always available. The problem is tha

Re: [Gambas-user] Pre-release of Gambas 3.8.0

2015-08-01 Thread Benoît Minisini
Le 01/08/2015 03:07, Adrien Prokopowicz a écrit : >> >> OK. But I need a database connection to be able to browse the available >> databases. This is the reason why "mysql" is chosen, because normally it >> is always available. The problem is that connection is not necessarily >> allowed. >> >> Or

Re: [Gambas-user] mkinteger..and the reverse function

2015-08-01 Thread Benoît Minisini
Le 01/08/2015 09:40, Olivier Cruilles a écrit : > hello, > > myInteger = Cint(val(myString)) > > Olivier > > >> Le 1 août 2015 à 01:39, nando a écrit : >> >> I'm putting this out there... >> >> I'm using MkInteger$, MkShort$ >> >> Who knows what the opposite functions would be. I can't find them

Re: [Gambas-user] mkinteger..and the reverse function

2015-08-01 Thread Olivier Cruilles
hello, myInteger = Cint(val(myString)) Olivier > Le 1 août 2015 à 01:39, nando a écrit : > > I'm putting this out there... > > I'm using MkInteger$, MkShort$ > > Who knows what the opposite functions would be. I can't find them > > > myString = MkInteger$(12345678) 'convert an integer