标签:ade 技术 sys 文字 his 1.2 lock log ack
在编写代码的过程中,经常碰到两个文件之间的逐行比較。特别是新代码与源码之间的文字比較,这里介绍用UltraEdit实现新代码与源码之间的比較方法。
//源码:Bearing.mac
FINISH
/CLEAR
/FILNAME,Bearing,1
/PREP7
/TITLE,3D model
BLOCK,0,2.5,0,1,0,2
WPOFF,0,1,2
WPROT,0,-90,0
BLC4,0,0,2,1,2
WPCSYS,-1,0
WPOFF,0,3,2
CYL4,0,0,0,0,2,90,-1
CYL4,0,0,1.2,,,,-0.2
CYL4,0,0,1,,,,-1
VSEL,S,VOLUM,,2,4,1
VSBV,ALL,4
ALLSEL,ALL
VSEL,S,VOLUM,,5,7,1
VSBV,ALL,5
ALLSEL,ALL
VSYMM,X,ALL,,,,0,0
VSEL,ALL
VGLUE,ALL
SAVE
//新代码:ZhouCeng1a.mac
FINISH
/CLEAR
/FILNAME,Bearing,1
/PREP7
/TITLE,3D model5
BLOCK,0,2.5,0,1,0,2
WPOFF,0,1,2
WPROT,0-90,0
BLC4,0,0,2,1,2
WPCSYS,-1,0
WPOFF,0,3,2
CYL4,0,0,0,0,2,90,-1
CYL4,0,0,1.2,,,,-0.2
CYL4,0,0,1,,,,-1
VSEL,S,VOLUM,,2,4,1
VSBV,ALL,4
ALLSEL,ALL
VSEL,S,VOLUM,,5,7,1
VSBV,ALL,5
ALLSEL,ALL
VSYMM,X,ALL,,,,0,0
VSEL,ALL
VGLUE,ALL
SAVE
1) 在UltraEdit中,同一时候打开源码Bearing.mac 和新代码ZhouCeng1a.mac,如图(1)所看到的:
标签:ade 技术 sys 文字 his 1.2 lock log ack
原文地址:http://www.cnblogs.com/blfbuaa/p/7198569.html