[fpc-pascal]absolute identifier
Florian Klaempfl
Florian.Klaempfl at gmx.de
Thu Apr 11 12:41:47 CEST 2002
At 14:54 10.04.02 -0500, you wrote:
>thanks - ill do that instead. btw the code i posted works afiak.
Yes, it should and you don't need the setlength because the type
cast code does the job for you.
> how about for type casting?
>
> var
> buf: array[1..255] of char;
> buflen: byte;
> str: ansistring;
> ...
> str:=ansistring(buf);
> setlength(str,buflen);
More information about the fpc-pascal
mailing list