This might be a lot better:

var bit data_0 at data:0
var bit data_1 at data:1
var bit data_2 at data:2
var bit data_3 at data:3
var bit data_4 at data:4
var bit data_5 at data:5
var bit data_6 at data:6
var bit data_7 at data:7

var bit temp_0 at temp:0
var bit temp_1 at temp:1
var bit temp_2 at temp:2
var bit temp_3 at temp:3
var bit temp_4 at temp:4
var bit temp_5 at temp:5
var bit temp_6 at temp:6
var bit temp_7 at temp:7
temp=0

if data_7==1 then  temp_0=1
end ifif data_6==1 then  temp_1=1
end ifif data_5==1 then  temp_2=1
end ifif data_4==1 then  temp_3=1
end ifif data_3==1 then  temp_4=1
end ifif data_2==1 then  temp_5=1
end ifif data_1==1 then  temp_6=1
end ifif data_0==1 then  temp_7=1
end if


Greets, 
Kiste

  

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to