Hello Sid, > for n := 0 to Count - 1 do > if CheckAccount(Items[n]) then result := true;
Yes correct, but I just liked the 'or' :) > short-circuit evaluation This is probably my english, but this is for me not a short circuit evaluation. eg this is: if a and b and c if a already evaluate false then dont check the rest. That is partial expression check or short circuit, but maybe it is my English... > Although it is possible to turn off short-circuit evaluation as > others suggested, I find that at least for the programs that I write > (compute-intensive vs. user interaction intensive), there is a > difference in performance Yes but you can set it off for the needed lines of code and back on. I tryed this (D7) to be sure of it, because there are a lot of situations that with turning it off you can get a lot of exceptions not wanted if you count on it... --- Rgds, Wilfried http://www.mestdagh.biz __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
