Code: Select all
For _index As UByte = 2 To 0 Step -1
? _index
If _index > 2 Then
? "-(?)-"
Exit For
EndIf
Next _index
Sleep
I perfectly understand that -1 = 255, for unsigned byte, but this value shouldn't be reached here.
UByte Standard data type: 8 bit unsigned
Syntax
Dim variable As UByte
Description
8-bit unsigned whole-number data type. Can hold a value in the range of 0 to 255