View Single Post
11-03-05, 11:55 PM   #3
xmlover
A Fallenroot Satyr
Join Date: Oct 2005
Posts: 25
Originally Posted by Iriel
Well, you'd do something like

yourConfig.configValue = ButtonName:GetChecked() or false;

wow....is this means that a nil value won't return to yourConfig.configValue ?

and

Code:
yourConfig.configValue = ButtonName:GetChecked() or 0;
is it OK?
so ButtonName:SetChecked() can use this yourConfig.configValue without a IF
  Reply With Quote