O
oddvark
Hello, under vc7.1 this code compiles:
if (!parent.fillTool)
parent.fillTool.dispose;
where dispose is a method of fillTool.
Notice that dispose does not have ( ) behind it.
Under vc8, this generates an error.
The question is, what is it doing under vc7.1?
Is it actually doing the function call? Or does it think this is just
some function reference and not doing the call?
Thanks.
if (!parent.fillTool)
parent.fillTool.dispose;
where dispose is a method of fillTool.
Notice that dispose does not have ( ) behind it.
Under vc8, this generates an error.
The question is, what is it doing under vc7.1?
Is it actually doing the function call? Or does it think this is just
some function reference and not doing the call?
Thanks.