Re: [fpc-pascal] pointer address safety

2013-01-31 Thread ik
On Thu, Jan 31, 2013 at 10:25 PM, Sven Barth wrote: > On 31.01.2013 19:55, ik wrote: >> >> Hello, >> >> What is the safest (no memory corruption etc...) way to use format >> string, and by using '%P' pass a class memory address ? >> >> Does casting to Pointer good, or is it unsafe ? > > > As Forma

Re: [fpc-pascal] pointer address safety

2013-01-31 Thread Sven Barth
On 31.01.2013 19:55, ik wrote: Hello, What is the safest (no memory corruption etc...) way to use format string, and by using '%P' pass a class memory address ? Does casting to Pointer good, or is it unsafe ? As Format does not support objects being provided to it you MUST even cast to Point

[fpc-pascal] pointer address safety

2013-01-31 Thread ik
Hello, What is the safest (no memory corruption etc...) way to use format string, and by using '%P' pass a class memory address ? Does casting to Pointer good, or is it unsafe ? Thanks, Ido ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org ht