On Monday 23 November 2015 06:13:43 Martin Schreiber wrote:
>
> It is probably possible to use git locally by an import of the CSV history
> https://git-scm.com/docs/gitcvs-migration
> and to fetch/push the changed files from/to the CSV server.
http://www.oak.homeunix.org/~marcel/blog/2009/06/03/t
On Sunday 22 November 2015 20:32:47 Bo Berglund wrote:
> On Sun, 22 Nov 2015 05:56:55 +0100, Martin Schreiber
>
> wrote:
> >And I strongly suggest to drop CVS and to use git
> >instead. ;-)
> >There is even a git client GUI written in Free Pascal:
> >http://sourceforge.net/projects/mseuniverse/
>
> What is the proper way of upgrading fppkg?
$ rm ~/.fppkg/config/default
now rerun fppkg, it should create a new config. if it still shows 2.6.4,
that means your 3.1.1 is inaccessible or has lower precedence than your
2.6.4.
--
View this message in context:
http://free-pascal-general.104571
More ...
// This works
function TestIsAs2(Item: TObject): T;
begin
if Item is T then
begin
Exit(Item as T);
end;
Result := nil;
end;
Now before you say "of course" :) I find it interesting because is and as
are operators, just like > greater than and < less than are operators. In
pre
Sven, in the with regards to "of course", I think you have it reversed. Is
and as were being used as a class in my test, not an object.
All examples in {$mode delphi}
if Form1.Components[I] is T then // does not compile in my test
while
if Form1.Components[I].Inheritsfrom(T) // did compile
In
On 22.11.2015 21:29, Anthony Walter wrote:
Test 2 works but with notes:
function Find: T;
var
I: Integer;
begin
for I := 0 to Form1.ComponentCount - 1 do
if Form1.Components[I].InheritsFrom(T) then
Exit(T(Form1.Components[I]));
Result := nil;
end;
Example 2 usage:
Find.Brush.Color :=
Hi,
I have fpc 2.6.4 on Linux and "fppkg list" shows the 2.6.4 packages.
Then I install fpc 3.1.1 using "make install".
fppkg still shows the 2.6.4 packages.
What is the proper way of upgrading fppkg?
The wiki page does not tell me:
http://wiki.lazarus.freepascal.org/fppkg
Mattias
Here are a few tests ...
Test 1 works:
function Swap(var A, B: T): T;
var
C: T;
begin
C := A;
A := B;
B := C;
end;
Example 1 usage:
Swap(I, J); // J now holds I value, I value holds J
Test 2 works but with notes:
function Find: T;
var
I: Integer;
begin
for I := 0 to Form1.Componen
On Sun, 22 Nov 2015 05:56:55 +0100, Martin Schreiber
wrote:
>And I strongly suggest to drop CVS and to use git
>instead. ;-)
>There is even a git client GUI written in Free Pascal:
>http://sourceforge.net/projects/mseuniverse/
>
Not so easy, since the company version control uses CVS since many
> So basically just use it as a single factor (or statement) and you'll be
fine until I've improved that.
Roger that.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Feature-announcement-Generic-functions-procedures-and-methods-tp5723106p5723115.html
Sent fr
Travis Siegel wrote:
Who do I talk to about fpc 3.0.0-rc2 not compiling on a raspberry pi? I
did reply to one email about an rc2 candidate, but got no reply, (and it
turns out I didn't have the latest available version at the time anyhow)
so the error changed, but it's still not compiling comp
Who do I talk to about fpc 3.0.0-rc2 not compiling on a raspberry pi? I
did reply to one email about an rc2 candidate, but got no reply, (and it
turns out I didn't have the latest available version at the time anyhow)
so the error changed, but it's still not compiling completely, though it
sur
12 matches
Mail list logo