自定义函数就是自己定义一些方法,让代码可读性更强interfaceuses ......function aaa(abc: string): Boolean; // 这一句是函数声明,告诉编译器说你声明了名叫aaa的函数im....function aaa(abc: string): Boolean; begin if abc = '' then Result := True else Result := False;end;