[fpc-devel] VAL behavior

Tomas Hajny XHajT03 at mbox.vol.cz
Tue Mar 23 22:36:26 CET 2010


On Tue, March 23, 2010 21:13, Dariusz Mazur wrote:
> W dniu 2010-03-23 20:04, dmitry boyarintsev pisze:
>> On Tue, Mar 23, 2010 at 6:50 PM, Dariusz Mazur<darekm at emadar.com>
>> wrote:
>>
>>> Delphi set ii to 9, FPC set 0 (io is equal 2)
>>> is this bug?
>>>
>> Don't assume the value of ii (since it's invalid), if io<>  0
>>
>>
>
> I don't ask about it. Only if this difference is a bug.

FWIW, TP gives the same results as FPC. Nevertheless, as already pointed
out by others, you should not rely on returned values in case of an error.

Tomas





More information about the fpc-devel mailing list