thanks again steve
okey whats i need is like this

state of inputs state of outputs
============== ================
0000 all output =0
0001 out1 =1 out3=1
0010 out2 = 1 out 4 =1
0100 out1=1 out4=1
1000 out2=1 out3=1
0011 out5=1
0110 out6=1
1100 out7=1
0111 out8=1
1110 out9=1
1111 out10=1

its is possible to change from out put to a label? because i will use to control a different output devices for example RC servo, DC motor ,relay etc?