Krzysztof wrote:
I'm planning constantly moving my apps to FPC 3.0.0. Compiled the
smallest app and everything seems to working fine. In official recent
changes list I read that main different is in unicode / utf8 /
codepage. What does it mean? Is there any simple real example with
"what you did
Hi,
I'm planning constantly moving my apps to FPC 3.0.0. Compiled the
smallest app and everything seems to working fine. In official recent
changes list I read that main different is in unicode / utf8 /
codepage. What does it mean? Is there any simple real example with
"what you did in FPC 2.6.4 a
Hi,
This code worked fine on FPC 2.6.4:
procedure Test(constref AParam: String = 'def_param');
begin
writeln(AParam);
end;
But on FPC 3.0.0 I get error:
unit1.pas(30,42) Error: Default values can only be specified for
value, const and constref parameters
Had to change constref to const but w
On 2016-03-28 15:02, Marco van de Voort wrote:
> There are like 250+ database fixes since 2.6.0.
That speaks for trying to compile 3.0.0.
The pi is on wheezy, so there is no .deb package
for it.
Thanks
--
Björn
___
fpc-pascal maillist - fpc-pascal@l
On 2016-03-28 13:45, Michael Van Canneyt wrote:
> I don't think the problem is in the SQLDB code, it is CPU-agnostic.
Hmm, real strange
I chagne the code like this
Q2 := CreateQuery(T) ;
sSql := 'insert into TEST values (:INT, :FT, :DT)';
Q2.SQL.Text := sSql;
Q2.Prepare;
Q2.Params.ParamByName
In our previous episode, Michael Van Canneyt said:
> > Changing the line to
> >
> > Q2.Params.ParamByName('DT').AsDateTime := now;
>
> I don't think the problem is in the SQLDB code, it is CPU-agnostic.
There are like 250+ database fixes since 2.6.0.
__
On 2016-03-28 13:45, Michael Van Canneyt wrote:
>
> I don't think the problem is in the SQLDB code, it is CPU-agnostic.
>
Hmm, ok.
I'm looking at the sqldb code, and I'll need some time to digest it.
Meanwhile, I think I'll try using the PQConnection unit
directly, to see if I get the same resul
On Mon, 28 Mar 2016, Björn Lundin wrote:
On 2016-03-28 10:27, Michael Van Canneyt wrote:
On Mon, 28 Mar 2016, Björn Lundin wrote:
However I'm running into trouble on timestamps fields on the pi.
[snip]
Q2.Prepare;
//Q2.Params.ParamByName('DT').DataType := ftDateTime;
Q2.Params.Param
On 2016-03-28 10:27, Michael Van Canneyt wrote:
>
>
> On Mon, 28 Mar 2016, Björn Lundin wrote:
>> However I'm running into trouble on timestamps fields on the pi.
>
> [snip]
>
>> Q2.Prepare;
>> //Q2.Params.ParamByName('DT').DataType := ftDateTime;
>> Q2.Params.ParamByName('DT').Value := now;
On Mon, 28 Mar 2016, Björn Lundin wrote:
Hi!
I'm using a pi as a monitor for some process, so I'm trying to get SDL2
and a working postgres interface on it.
However I'm running into trouble on timestamps fields on the pi.
[snip]
Q2.Prepare;
//Q2.Params.ParamByName('DT').DataType := ftDa
10 matches
Mail list logo