Michael says:
> - 'const': gives pointer, content read-only
In practice the compiler may[1] check for access to the value at compile
time and just give you a pointer to the real thing (since it knows you
won't change it). With a non-specified parameter it has to make a copy and
pass that, which sl
On Sat, Apr 29, 2006 at 11:20:04PM +0200, Peter Vreman <[EMAIL PROTECTED]>
wrote:
> >
> > Are const parameters supposed to ensure read only access?
> > If so how come one can write to a typed pointer?
> >
> > program project1;
> >
> > {$mode objfpc}{$H+}
> >
> > type
> > PSomeRec = ^TSomeRec
Hello,
For the people on the fpc-pascal mailing list that are not subscribed on the
Lazarus mailing list, the following mail is a response to the request of
some Lazarus users to start some kind of FPC/Lazarus foundation, to advance
the use of FPC/Lazarus, and to aid in development. I am sending t