Dear friends,
please for advice. It is possible to do simpliest code than this?
It is possible to write with B4R something like...
receivecode=1
if mydevice(receivecode)=56 then "start"
if mydevice(receivecode)=153 then "stop"
Please for advice,
best regards
p4ppc
please for advice. It is possible to do simpliest code than this?
B4X:
receivecode=1
If receivecode=1 then
if mydevice1=56 then "start"
if mydevice1=153 then "stop"
End if
If receivecode=2 then
if mydevice2=56 then "start"
if mydevice2=153 then "stop"
End if
........
It is possible to write with B4R something like...
receivecode=1
if mydevice(receivecode)=56 then "start"
if mydevice(receivecode)=153 then "stop"
Please for advice,
best regards
p4ppc