I think this fixes the problem (in gbx_date.c):
int DATE_diff(VALUE *date1, VALUE *date2, int period)
{
int64_t diff = 0;
int sdiff, tmpdiff;
DATE_SERIAL ds1 = {0};
DATE_SERIAL ds2 = {0};
bool neg;
switch (period)
{
case DP_DAY:
case DP_WEEK:
On Thu, 13 Aug 2015 16:22:13 +0200
"Adrien Prokopowicz" wrote:
> Le Mon, 10 Aug 2015 13:41:17 +0200, Jussi Lahtinen
> a écrit:
>
> > Sorry to say, but this doesn't seem to be fixed.
> >
> > ? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day)
> > 1
> >
> >
> > Jussi
> >
> > On Sat, Aug 1, 2015 at 7
Am 13.08.2015 16:06, schrieb Adrien Prokopowicz:
> Le Thu, 13 Aug 2015 12:05:06 +0200, Adrien Prokopowicz
> a écrit:
>
>> Le Thu, 13 Aug 2015 11:19:09 +0200, Sprachschule Eilert
>> a écrit:
>>
>>> This produces a syntax error, but it doesn't tell me why:
>>>
>>> Private Const $TB As String = Ch
Le Mon, 10 Aug 2015 13:41:17 +0200, Jussi Lahtinen
a écrit:
> Sorry to say, but this doesn't seem to be fixed.
>
> ? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day)
> 1
>
>
> Jussi
>
> On Sat, Aug 1, 2015 at 7:16 PM, Benoît Minisini <
> gam...@users.sourceforge.net> wrote:
>
>> Le 01/08/2015 17:52
Le Thu, 13 Aug 2015 12:05:06 +0200, Adrien Prokopowicz
a écrit:
> Le Thu, 13 Aug 2015 11:19:09 +0200, Sprachschule Eilert
> a écrit:
>
>> This produces a syntax error, but it doesn't tell me why:
>>
>> Private Const $TB As String = Chr$(9)
>>
>> If I leave "Const" away, it runs, so it should
Le Thu, 13 Aug 2015 11:19:09 +0200, Sprachschule Eilert
a écrit:
> This produces a syntax error, but it doesn't tell me why:
>
> Private Const $TB As String = Chr$(9)
>
> If I leave "Const" away, it runs, so it shouldn't be the $TB which
> disturbs, as it is accepted as a variable naming. The r
This produces a syntax error, but it doesn't tell me why:
Private Const $TB As String = Chr$(9)
If I leave "Const" away, it runs, so it shouldn't be the $TB which
disturbs, as it is accepted as a variable naming. The rest should be ok,
too. So I can't find any reason...
Thanks for any hint
Ro