View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] markjerz@googlemail.com is offline
external usenet poster
 
Posts: 10
Default Double variables initialize to zero??

Hi,

I've got an array of doubles and i want to check that they have not
been initialized.

However, the following code returns a message box with false and
outputting the variable foo gives 0.
Is this behaviour intended, how can I work around it?

Thanks,
Mark

sub test()

dim foo as double
msgbox isnull(foo)

end sub