Yes becouse the default for non dimensioned variables is always Byte.
It is good practice to use:
#optionexplicit
and then declare all of the variables and types you intend to use including Byte.
It will then flag unknown variables as an error and save hours of debugging due to spelling mistakes or incorrect type definitions.
Cheers
Chris
Last edit: Chris Roper 2019-12-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know that byte variables don't need to be dimensioned but larger variables do. Do bit variables need to be dimensioned?
Yes becouse the default for non dimensioned variables is always Byte.
It is good practice to use:
and then declare all of the variables and types you intend to use including Byte.
It will then flag unknown variables as an error and save hours of debugging due to spelling mistakes or incorrect type definitions.
Cheers
Chris
Last edit: Chris Roper 2019-12-22