StrUtils单元和Math单元分别有一个IfThen函数,举例:unitUnit1;interfaceusesWindows,Messages,SysUtils,Variants,Classes,...
www.ablanxue.com