1.函数的定义
2.调用方式
Delphi的函数有几种调用方式,
|
Directive
|
Parameter order
|
Clean-up
|
Passes parameters in registers?
|
|
register
|
Left-to-right
|
Routine
|
Yes
|
|
pascal
|
Left-to-right
|
Routine
|
No
|
|
cdecl
|
Right-to-left
|
Caller
|
No
|
|
stdcall
|
Right-to-left
|
Routine
|
No
|
|
safecall
|
Right-to-left
|
Routine
|
No
|
4.函数重载