请问哪位VB高手帮忙解决解释一下下面的代码:(逐句解释,小弟初学,一句都不懂啊 灰常感谢)

PublicSubShowWave()Dima(1000)AsSingleDimyc!,xc!,xl!,yt!DimiiAsIntegerDimtmpstr$Pictur... Public Sub ShowWave()
Dim a(1000) As Single
Dim yc!, xc!, xl!, yt!
Dim ii As Integer
Dim tmpstr$
Picture1.Cls
Picture2.Cls
yc = Picture1.ScaleTop + Picture1.ScaleHeight / 2
xl = Picture1.ScaleLeft
xs = Picture1.ScaleWidth / AdNumber
ys = Picture1.ScaleHeight / 65536!
Picture1.Line (xl, yc)-(xl + Picture1.ScaleWidth, yc), QBColor(4)
'Picture1.PSet (xl, yc)
Picture1.PSet (X1, yc + (ys * wV0(0)))
For ii = 1 To AdNumber - 1
Picture1.Line -(xl + (xs * ii), yc - (ys * wV0(ii)))
Next ii
yc = Picture2.ScaleTop + Picture2.ScaleHeight / 2
xl = Picture2.ScaleLeft
xs = Picture2.ScaleWidth / AdNumber
ys = Picture2.ScaleHeight / 65536!
Picture2.Line (xl, yc)-(xl + Picture2.ScaleWidth, yc), QBColor(4)
'Picture2.PSet (xl, yc)
Picture2.PSet (X1, yc + (ys * wV1(0)))
For ii = 1 To AdNumber - 1
Picture2.Line -(xl + (xs * ii), yc - (ys * wV1(ii)))
Next ii
tmpstr$ = ""
For ii = 0 To AdNumber - 1
tmpstr$ = tmpstr$ + Str$(ii) + " -> " + "CH1 : " + Hex(wV0(ii)) + " CH2 : " + Hex(wV1(ii)) + CR + LF
Next ii
Text1.Text = tmpstr$
End Sub
展开
 我来答
维mao799095252
2014-12-06 · 超过31用户采纳过TA的回答
知道答主
回答量:64
采纳率:0%
帮助的人:73.9万
展开全部
参考答案: 你没那么多观众,别那么累。
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式