[fpc-devel] new string - question on usage
Sven Barth
pascaldragon at googlemail.com
Wed Oct 12 14:39:40 CEST 2011
Am 12.10.2011 14:40, schrieb Michael Schnell:
> On 10/12/2011 02:28 PM, Sven Barth wrote:
>>
>> There will be a conversion.
> Meaning:
> - when it is a var parameter, am error message is issued.
> - when it is a value parameter: conversion is called
> - type cast will do a conversion
> - assignment will do a conversion (at least if the target encoding ID is
> not zero.)
> - the conversion will not happen if the source encoding ID is "Raw"
>
> Correct ?
Without knowing the details (I haven't worked on/with code page aware
strings), I'd say yes (the only point I'm really unsure about is
"var"-arguments).
Regards,
Sven
More information about the fpc-devel
mailing list