Michael Schnell schrieb:
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

Correct, so far.

- assignment will do a conversion (at least if the target encoding ID is not zero.)

... conversion unless the target type is RawByteString, or has the same encoding.

 - the conversion will not happen if the source encoding ID is "Raw"

There is no "Raw" source ID. When source is the empty string, it deserves no conversion. Otherwise source *has* an encoding, from the last assignment to it.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to