39;----------FUNCTION STRLEN(STR)----------
FUNCTION strlen(str)
dim p_len
p_len=0
strlen=0
p_len=len(str)
FOR xx=1 to p_len
IF asc(mid(str,xx,1))<0 then
strlen=int(strlen) 2
ELSE
strlen=int(strlen) 1
END if
NEXT
END function
FUNCTION myFind( cunname, DJH,SHAPE_Area,lb )
dim str
str=SHAPE_Area
dim d
d=strlen(str)
dim d1
dim d2
d1=strlen(cunname) /2
d2=strlen(DJH) /2
if d2>d1 then
d1=d2
end if
myFind =" " & space(d-1) &cunname & vbnewline & str & string(d1, "—") & lb & vbnewline & space(d) & DJH
END Function
39;编制日期:2012-03-25
Function FindLabel ([小班号],[林种],[树种],[小班面积],[完成面积],[密度],[完成情况],[类别] )
FindLabel = myFind( [林种] & "-" & [小班面积] & "(" & [完成面积] & ")",[树种] & "-" & [密度] & "-" & [完成情况], [小班号],[类别])
End Function

0人已收藏
0人已打赏
免费1人已点赞
分享
水利工程资料库
返回版块1.37 万条内容 · 228 人订阅
阅读下一篇
黄河知多少丨人们常说的泾渭分明是谁清谁浊?黄河 作为华夏儿女的母亲河 对中华文明产生了深远、悠久的影响 很多文人墨客借黄河抒发心中的豪情壮志 同时,黄河也产生了很多成语 丰富了中华文化的博大精深 如我们常说的“泾渭分明” 比喻界限清楚,是非、好坏分明
回帖成功
经验值 +10
全部回复(0 )
只看楼主 我来说两句抢沙发