I would use Long. In this case you could use Byte, but then if maybe later
you go beyond the reach of Byte then
you will get an overflow error. Long is more efficient
than Integer, so I would do Dim n As Long.
RBS
"John" wrote in message
...
What is the best way to def integer counters? I don't understand vb's
definitions (Integer, long etc.). It used to be you used the def that used
the least memory. Is that still true?
for n = 1 to 100
what would you def n as for most efficiency and least memory use. Or isn't
that a factor anymore?
I am getting back into programming a little after 18 years.
John