You have troubled me seriously, so I have dug in the compiler source.
It appears that when parsing the source, Currency constants are cast to type
BestReal (EXTENDED on I386) before being converted to the 8 byte currency
written to the PPU or EXE or whatever is done. The combination of these
When I change definition of 3rd parameter in unicode version of
StrPLCopy from SizeInt to SizeUInt, then in my example program is
correctly called "ansi version"
So it seems, that this 3rd parameter confused compiler and somehow
forced him to prefer wrong version...?
-Laco.
Hi again,
I reply