hello
i am doing a timer but i want to combine 3 variable in one variable.
for example :
x var byte
y var byte
z var byte
num var word
x = 1
y=2
z = 3
i want num = zyx
i have a solution, but i am not satisfied to it. my solution is
y=y*10
z=z*100
then
num=x+y+z
but i am thinking if i use For statement, then the number will multiply by 10 and 100
Bookmarks