[fpc-pascal] IE 200307043

JoshyFun joshyfun at gmail.com
Wed May 27 17:27:10 CEST 2009


Hello Frank,

Wednesday, May 27, 2009, 2:49:26 PM, you wrote:

FP> But I'm more puzzled by what it would /mean/. In spite of your bracketed
FP> comment here, you seem to be thinking that nil is an address: i.e.
FP> adding/subtracting/multiplying a literal would mean something. I'm just
FP> pointing out that, if you think it's an address, it's undefined. Because
FP> it's not any address. So adding something to it doesn't mean anything.

From my point of view nil is like the infinite in mathematics, so it
is not range bounded and operations like nil+1 are impossible, or in
the worst case equal to nil again. Once you assigned nil to a pointer
the value becomes in range so it can be operated as usual.

-- 
Best regards,
 JoshyFun




More information about the fpc-pascal mailing list