摘要: 文章转载于【IT花园】:http://www.itgarden.com.cn/showtopic-29.aspxAbs(number) 取得数值的绝对值。 Asc(String) 取得字符串表达式的第一个字符ASCII 码。 Atn(number) 取得一个角度的反正切值。 CallByName (object, procname, usecalltype,[args()]) 执行一个对象的方法、设定或传回对象的属性。 CBool(expression) 转换表达式为Boolean 型态。 CByte(expression) 转换表达式为Byte 型态。 CChar(expression) 转 阅读全文
posted @ 2013-07-22 17:32 失落心灵 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 1.用JS创建文件var fso, f1;fso = new ActiveXObject("Scripting.FileSystemObject");f1 = fso.CreateTextFile("c:\\testfile.txt", true);2.用JS创建并写入数据function CreateFile(){ var fso, tf; fso = new ActiveXObject("Scripting.FileSystemObject"); tf = fso.CreateTextFile("c:\\testfile 阅读全文
posted @ 2013-07-22 17:24 失落心灵 阅读(12364) 评论(0) 推荐(0) 编辑
摘要: 附赠一个简单的使用案例,希望能帮助大家使用!/* json.js 2007-08-05 Public Domain This file adds these methods to JavaScript: array.toJSONString() boolean.toJSONString() date.toJSONString() number.toJSONString() object.toJSONString() string.toJSONString() Th... 阅读全文
posted @ 2013-07-22 17:17 失落心灵 阅读(453) 评论(0) 推荐(0) 编辑