long variable error

Moderator: Benj

Post Reply
User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

long variable error

Post by Osta »

No exit from the for loop!
Shift error
Attachments
for
for
For.jpg (32.68 KiB) Viewed 2078 times
err
err
ERR a.jpg (37.68 KiB) Viewed 2078 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: long variable error

Post by LeighM »

You likely need to use an unsigned long

User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

Re: long variable error

Post by Osta »

Hi LeighM!
I thought the default would be an unsigned variable.
It's working !
Thank you!!! :D

Post Reply