On 12 Aug 2003 at 21:54, Frank Heckenbach wrote:
[...]
"Val( S: String; var V; var Code: Integer)"
"... If the string is somehow invalid, the index of the offending character is stored in Code;
The question is if V is (guaranteed to be) zero then.
I wouldn't have thought so. The value of V might well be undefined. My understanding (which of course may be wrong) is that nothing is done with V unless the procedure call succeeds. So whatever was in V before the procedure call would still be there afterwards, but I do not think that even this is guaranteed.
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.bigfoot.com/~african_chief/