be80be
Well-Known Member
Code:
Dim count As Word 'symbol not expected
count = 0
While True
' Initialize or reset counter (optional)
' You can skip this if you're doing it conditionally inside the loop
' count = 0
' Convert count to individual digits
Number(0) = count Mod 10
Number(1) = (count \ 10) Mod 10
Number(2) = (count \ 100) Mod 10
Number(3) = (count \ 1000) Mod 10
ScanDisplay()
DelayMS(5)
Inc(count)
If count = 10000 Then
count = 0
End If
Wend
I get error symbol not expected when i declare count as word