Marc Weustink wrote:
> the following app is valid:
> program a;
> {$mode objfpc}{$h+}
> var
> p: PChar;
> s: String;
> begin
> p := 'abcdef';
> s := p;
> end.
An assignment is not necessarily the same as a typecast, as far as I
know. They could be handled by different pieces of compiler code and
have different semantics.
Micha
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives