发表于: 2006.10.22 16:36
分类: delphi
出处: http://ebreezee.itpub.net/post/23931/223099
---------------------------------------------------------------
procedure DoSomething;
function CalcAValue: Integer;
过程没有返回值,如同C的void
函数则有,如同C的带返回值函数
摘自:http://topic.csdn.net/t/20030315/15/1534888.html
过程没有返回值,用sub表示,比如vb中最常用的sub Main()
函数function有返回值,用function表示
比如function GetText() as string;












