上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 47 下一页
摘要: 一、序言二、通用源代码格式规则2.1 缩格2.2 页边空格2.3 Begin...End 配对三、Object Pascal3.1 括号3.2 保留字和关键字3.3 过程和函数(例程) 3.3.1 命名/格式化 3.3.2 形式参数 3.3.2.1 格式化 3.3.2.2 命名 3.3.2.3 参数的排序 3.3.2.4 常量参数... 阅读全文
posted @ 2020-05-21 14:07 huiy_小溪 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 放在前面的public变量和单元可以被其它单元直接引用。放在后面的public变量和单元只能被本单元所引用。 阅读全文
posted @ 2020-05-21 11:38 huiy_小溪 阅读(581) 评论(0) 推荐(0) 编辑
摘要: create后一定要free吗?简单举例 procedure a; var x:TX; begin x:=TX.create; //do someting; x.free //如果我这里不free,到了这个end不就是相当于C中的}自动释放吗? 也就是说在此处这个free是多余的。对吗? end; 但是为了可靠性和... 阅读全文
posted @ 2020-05-20 16:44 huiy_小溪 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 转载地址:https://www.cnblogs.com/mumble/archive/2011/05/25/2056462.htmlfunction Format(const Format: string; const Args: array of const): string; overload;事实上Format方法有两个种形式,另外一种是三个参数的,主要区别在于它是线程安全的,但并不多用,... 阅读全文
posted @ 2020-05-20 11:44 huiy_小溪 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 转载地址:http://blog.sina.com.cn/s/blog_44fa172f0101cur1.html1)destroy:虚方法释放内存,在Tobject中声明为virtual,通常是在其子类中override 它,且要加上inherited关键字,才能保证派生类对象正确地被销毁;但destroy一般不能直接用,为什么?当一个对象为nil,我们仍然调用destroy,会产生错误。因为d... 阅读全文
posted @ 2020-05-20 10:15 huiy_小溪 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 转载地址:https://www.freepascal.org/docs-html/rtl/system/paramstr.htmlParamStrReturn value of a command-line argument.DeclarationSource position: systemh.inc line 1397function ParamStr( l: LongInt):strin... 阅读全文
posted @ 2020-05-14 23:30 huiy_小溪 阅读(235) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ url : form.attr('action'), type : 'POST', cache : false, data : new FormData($('#form')[0]), processData : false, contentType... 阅读全文
posted @ 2020-05-05 22:21 huiy_小溪 阅读(14908) 评论(0) 推荐(0) 编辑
摘要: xlh : { validators : { trigger : 'change', notEmpty : { message : '序列号不能为空' }, threshold : 15,// 有15字符以上才发送ajax请求 remote : {// ajax验证。server result:{" 阅读全文
posted @ 2020-04-29 20:47 huiy_小溪 阅读(1099) 评论(2) 推荐(0) 编辑
摘要: $('#xlh').on("input propertychange", function() {});不能使用 onChange事件,这个事件的触发需要失去焦点才可以。 阅读全文
posted @ 2020-04-29 00:43 huiy_小溪 阅读(470) 评论(0) 推荐(0) 编辑
摘要: $('#isAutoGetAdd').is(':checked') 阅读全文
posted @ 2020-04-28 16:01 huiy_小溪 阅读(177) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 47 下一页