On Fri, 24 Mar 2023 22:20:15 +0100, Bo Berglund via fpc-pascal
wrote:
>I thought Online Package Manager was standard since it appeared in all earlier
>installs I have made both using Sourceforge Windows installers or via sources
>downloaded with SVN or Git and building on Linux.
>
>Now I have tes
I thought Online Package Manager was standard since it appeared in all earlier
installs I have made both using Sourceforge Windows installers or via sources
downloaded with SVN or Git and building on Linux.
Now I have tested fpcupdeluxe on Windows and it looked at first to work OK, but
when I want
On Fri, 24 Mar 2023, Peter B via fpc-pascal wrote:
On 24/03/2023 14:29, Martin Frb via fpc-pascal wrote:
On 24/03/2023 15:04, Benito van der Zander via fpc-pascal wrote:
why is a pointer to a char not a pchar (for type helpers)?
My guess: For the same reason that "p2" fails in the below.
On 24/03/2023 14:29, Martin Frb via fpc-pascal wrote:
On 24/03/2023 15:04, Benito van der Zander via fpc-pascal wrote:
why is a pointer to a char not a pchar (for type helpers)?
My guess: For the same reason that "p2" fails in the below. Distinct type.
May be assignment compatible, but a type
On 24/03/2023 15:04, Benito van der Zander via fpc-pascal wrote:
why is a pointer to a char not a pchar (for type helpers)?
My guess: For the same reason that "p2" fails in the below. Distinct type.
May be assignment compatible, but a type of it's own.
Imagine you had a different helper, with
Hallo,
why is a pointer to a char not a pchar (for type helpers)?
program Project1;
{$Mode objfpc}{$H+} {$ModeSwitch typehelpers}
type TPcharHelper = type helper for pchar
function toString(length: integer): string;
end;
function TPcharHelper.toString(length: integer): string;
begin
SetStr
On 24/03/2023 07:38, Bo Berglund via fpc-pascal wrote:
On Thu, 23 Mar 2023 09:47:36 +0100, Martin Frb via fpc-pascal
wrote:
You need to change the CPU to i386 too
OK, I thought that the current processor could be used since it can run both
types of programs...
Well no, and probably for seve