随笔分类 -  Delphi

[Delphi]过程Procedure动态调用
摘要:过程也可以像通用变量一样声明、调用 procedure HelloWorld; begin ShowMessage('HI'); end; procedure HelloWorld2(a:String); begin ShowMessage('HI'); end; procedure TFormSp 阅读全文
posted @ 2016-02-02 15:22 蓝懒虫 阅读(1820) 评论(0) 推荐(0)
[Delphi]函数与过程注释
摘要:当一个项目非常复杂且项目生命周期长,代码的注释就显得非常必要。 /// <summary>将指定索引的子结点移除</summary> /// <param name="AItemIndex">要移除的子结点索引</param> /// <returns>返回被移除的子结点,如果指定的索引不存在,返回 阅读全文
posted @ 2016-02-02 11:47 蓝懒虫 阅读(439) 评论(0) 推荐(0)