Suppressing a feature using a variable value

How to suppress a feature using a variable value?
I have defined global variable (e.g. A=0 or A=1) in the equationsection. Now I want to drive state of one of my features usingvalue of A. i.e. when A=0 I want to suppress it and when it is 1 Iwant to unsuppress it.

How can I embed this rule into a Solidworks partfile?

I am not looking for a solution from design table point of view.

Thanks
Raghawendra
SolidworksGeneral