Hello,
I have two questions relating to the sizes of variables in VBA.
I've been just looking at Ruddle's code in this thread (Algorithm Question)
http://www.mrexcel.com/forum/showthread.php?t=566351
and I started to wonder if we could work with bits in VBA in any ways just like from C++?
http://www.cplusplus.com/reference/stl/vector/
Moreover, this led to a new question which I had not known until now.
Why does a boolean take up 2 BYTES!!!! in VBA?
as stated in http://www.ozgrid.com/VBA/variables.htm
Thank you in advance,
Kpark.
I have two questions relating to the sizes of variables in VBA.
I've been just looking at Ruddle's code in this thread (Algorithm Question)
http://www.mrexcel.com/forum/showthread.php?t=566351
and I started to wonder if we could work with bits in VBA in any ways just like from C++?
http://www.cplusplus.com/reference/stl/vector/
Moreover, this led to a new question which I had not known until now.
Why does a boolean take up 2 BYTES!!!! in VBA?
as stated in http://www.ozgrid.com/VBA/variables.htm
Thank you in advance,
Kpark.