Hello Ken, > On this basis, I don't think I'd want to rely on the calling convention to > resolve the function calling order for me.
Correct. In this case because the same function call is used to return 3 different values the compiler takes the most optimized and just push the return values on the stack, where the other function will get them in reverse order. --- Rgds, Wilfried http://www.mestdagh.biz __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk