Re: [fpc-pascal] Initialization of constant record member of pointer type

2020-11-30 Thread Sven Barth via fpc-pascal
Am 30.11.2020 um 13:20 schrieb LacaK via fpc-pascal: Hi, is there a way how to initialize record member of pointer type (other than PChar) in the following example: type   TMyRec=record     a: PByte; // if I change PByte to PAnsiChar then it works   end; const   MyConst: TMyRec = (a:

[fpc-pascal] Initialization of constant record member of pointer type

2020-11-30 Thread LacaK via fpc-pascal
Hi, is there a way how to initialize record member of pointer type (other than PChar) in the following example: type   TMyRec=record     a: PByte; // if I change PByte to PAnsiChar then it works   end; const   MyConst: TMyRec = (a: 'abcd'); // I want to a points to static memory where

Re: [fpc-pascal] New User

2020-11-30 Thread Marcos Douglas B. Santos via fpc-pascal
On Mon, Nov 30, 2020 at 4:43 AM Derek Stewart via fpc-pascal wrote: > > Hi, > > I have just discover FreePascal and compiled FPC from source. I must say > it look very good. > > I did a software engineering course in the UK Open University, in the > 1980s, which was mainly Pascal orientated. > >