Ok, that makes sense now. Dynamic arrays can't be passed to static arrays. I
remember when I tried to make aligned dynamic arrays I got to look around in
the code and it seems plausible you could just make a memcpy call in the RTL
for dynamic arrays being passed to static arrays. Seems deceptively
> On Mar 16, 2020, at 12:36 AM, fredvs via fpc-pascal
> wrote:
>
> Hello.
>
> You may use http://free-pascal-general.1045716.n5.nabble.com/
>
> This forum is an archive for the mailing list
> fpc-pascal@lists.freepascal.org
>
> Fre;D
Looks like everyone here likes the mailing list. Very w
Ryan Joseph via fpc-pascal schrieb am
So., 15. März 2020, 19:58:
>
>
> > On Mar 15, 2020, at 8:53 PM, Howard Page-Clark via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >
> >
> > With recent FPCs you can however do this:
> >
> > program test;
> > var
> > data: array[0..2] of Integer
On 3/15/2020 6:55 AM, Ryan Joseph via fpc-pascal wrote:
It's 2020 and the mail list is starting to really show its age. I don't get
first messages from gmail and my personal web host is whitelisted, messages
bounce when I use the wrong account by accident, hard to search the archives,
can't po
Hello.
You may use http://free-pascal-general.1045716.n5.nabble.com/
This forum is an archive for the mailing list
fpc-pascal@lists.freepascal.org
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
fpc-p
Not that I'm anyone special but I and many others who lurk for the most part
would probably just lose track of the project.
--
Alexander Grotewohl
https://dcclost.com
From: fpc-pascal on behalf of Michael
Van Canneyt
Sent: Sunday, March 15, 2020 1:09:22 PM
To:
On Sun, 15 Mar 2020, Jonas Maebe wrote:
On 15/03/2020 14:55, Ryan Joseph via fpc-pascal wrote:
Has there ever been any discussion into replacing it with a modern web based
forum?
There are web forums if you prefer them to using a mailing list:
https://forum.lazarus.freepascal.org/ (see the
Ryan Joseph via fpc-pascal schrieb am
So., 15. März 2020, 15:33:
> It's 2020 and the mail list is starting to really show its age. I don't
> get first messages from gmail and my personal web host is whitelisted,
> messages bounce when I use the wrong account by accident, hard to search
> the arch
On Sun, 15 Mar 2020, Ryan Joseph via fpc-pascal wrote:
It's 2020 and the mail list is starting to really show its age. I don't
get first messages from gmail and my personal web host is whitelisted,
messages bounce when I use the wrong account by accident, hard to search
the archives, can't pos
> On Mar 15, 2020, at 8:53 PM, Howard Page-Clark via fpc-pascal
> wrote:
>
>
> With recent FPCs you can however do this:
>
> program test;
> var
> data: array[0..2] of Integer;
> tmp: array of Integer = Nil;
> begin
> tmp := [1,2,3];
> Move(tmp[0], data[0], SizeOf(data));
> end.
yea
On 15/03/2020 12:06, Ryan Joseph via fpc-pascal wrote:
program test;
var
data: array[0..2] of integer;
begin
// Incompatible types: got "{Array Of Const/Constant Open} Array of ShortInt" expected
"Array[0..2] Of LongInt"
data := [1,2,3];
end.
With recent FPCs you can however do this:
On 15/03/2020 14:55, Ryan Joseph via fpc-pascal wrote:
> Has there ever been any discussion into replacing it with a modern web based
> forum?
There are web forums if you prefer them to using a mailing list:
https://forum.lazarus.freepascal.org/ (see the forums under the "Free
Pascal" header).
T
It's 2020 and the mail list is starting to really show its age. I don't get
first messages from gmail and my personal web host is whitelisted, messages
bounce when I use the wrong account by accident, hard to search the archives,
can't post images and code easily (big problem!), messages gets lo
Why doesn't it compile to pass an open array to a static array of the same
size? That would nice if this worked since it makes assigning values so easy.
program test;
var
data: array[0..2] of integer;
begin
// Incompatible types: got "{Array Of Const/Constant Open} Array of ShortInt"
expecte
14 matches
Mail list logo