摘要:
经常从网上复制的代码都有很多空行,一行行删除太费事,现在我找到了一个方法,按下面的步骤即可一次性把所有的空行删除1. Click Ctrl+H (quick replace)2. Tick "Use Regular Expressions"3. In Find specify "^$\n"4. In Replace box delete everything.5. Click "Replace All"All Blank lines will be deleted. ^ Means Beginning of line $ Means 阅读全文
posted @ 2014-03-17 12:28
swtool
阅读(582)
评论(0)
推荐(0)
摘要:
ResultBuffer相关的常量值,如常用的5005代表string,5006代表objectId 1 ' Type of resbuf element 2 Const RTNONE As Short = 5000 3 ' No result 4 Const RTREAL As Short = 5001 5 ' Real number 6 Const RTPOshort As Short = 5002 7 ' 2D poshort X and Y only 8 Const RTSHORT As Short = 5003 9 ' Short intege 阅读全文
posted @ 2014-03-17 09:53
swtool
阅读(926)
评论(0)
推荐(0)
摘要:
1 Math.cell 2 语法:Math.cell(x); 3 参数:X是一个数值或者表达式。 4 说明:返回所给参数的近似整数值,近假值为向上取整所得的数值,取近似值为大于等于参数的整数。 5 6 7 Math.round 8 语法:Math.round(x); 9 参数:X为一个数值。10 说明:返回对参数X四舍五入后所得的整数近似值。11 12 13 Math.floor14 语法:Math.floor(x);15 参数:X是一个数值或者表达式。16 说明:返回所给参数的近似整数值,近似值为向下取整所得的数值,即近似值为小于等于参数的整数。 阅读全文
posted @ 2014-03-17 09:14
swtool
阅读(375)
评论(0)
推荐(0)

浙公网安备 33010602011771号