Dear All,
Here i have four no of softbit as below
STYLE1:bool
STYLE2:bool
STYLE3:bool
STYLE4:bool
if i selected style-1 (status=true), remaining styles2,3,4 status are 0 suppose those any one styles status are 1.
if i selected style-2 (status=true), remaining styles1,3,4 status are 0 suppose those any one styles status are 1.
if i selected style-3 (status=true), remaining styles1,2,4 status are 0 suppose those any one styles status are 1.
if i selected style-4 (status=true), remaining styles1,2,3 status are 0 suppose those any one styles status are 1.
I Was tried but not working.logic as below
S1TEMP2:STYLE1 AND NOT S1TEMP1;
S1TEMP1:=STYLE1;
S2TEMP2:STYLE2 AND NOT S2TEMP1;
S2TEMP1:=STYLE2;
S3TEMP2:STYLE3 AND NOT S3TEMP1;
S3TEMP1:=STYLE3;
S4TEMP2:STYLE4 AND NOT S4TEMP1;
S4TEMP1:=STYLE4;
STYLE1:=NOT S2TEMP2 AND NOT S3TEMP2 AND NOT S4TEMP2;
STYLE2:=NOT S1TEMP2 AND NOT S3TEMP2 AND NOT S4TEMP2;
STYLE3:=NOT S1TEMP2 AND NOT S2TEMP2 AND NOT S4TEMP2;
STYLE4:=NOT S1TEMP2 AND NOT S2TEMP2 AND NOT S3TEMP2;
Kindly give us solution.
=== Edited by Ganesan_K @ 8/29/2012 6:01 AM [GMT ] ===
|
“Change will not come if we wait for some other person or some other time. We are the ones we have been waiting for. We are the change that we seek”