no idea, but in those cases i put them in a 1 to 50,000 for statement just to find out

cheers

moises


At 09:23 PM 10/30/2003 +1300, you wrote:


Which of the following code is the most efficient/fastest to execute?

Label1.Enabled := Option.ItemIndex = 1;
Label2.Enabled := Option.ItemIndex = 1;

or

Label1.Enabled := Option.ItemIndex = 1;
Label2.Enabled := Label1.Enabled;

Thanks,
Ross Levis.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003

Reply via email to