Hi, You should use the directive "pascal", if you want to pass parameters Left-to-Right order:
procedure Test(h, m, s: word); pascal; ... The parameter evaluation direction (in your case) is Right-to-Left. See help topics "Calling convention" for details. Regards: m. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.7/1062 - Release Date: 2007.10.10. 17:11 __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk