[fpc-pascal] exceptions

Jonas Maebe jonas.maebe at elis.ugent.be
Thu May 28 23:22:23 CEST 2009


On 28 May 2009, at 23:18, JoshyFun wrote:

> Hello FPC-Pascal,
>
> Thursday, May 28, 2009, 9:58:23 PM, you wrote:
>
> RS> Shrinked down example of the program.
> RS> Rainer
> [...]
> RS> procedure memclr( p : pointer ; len : longint );
> Aside from the socket problem, can somebody explain me this line:
>
> RS>   byte( p^ ) := 0;
>
> ????????????? from my point of view it should be "PBYTE(P)^:=0;" am I
> missing something ?

pbyte(p)^ and byte(p^) are the same thing in Pascal.


Jonas



More information about the fpc-pascal mailing list