[VBA ]麻煩各位大大幫我看一下程式有沒有錯??
各位大大,下列的程式是否可以正確的執行出來呢?若不行的話,麻煩您跟我說一下
什麼地方需要修改,我還是一個VB新手,對VB還不是很了解,麻煩各位大大的指教了!
謝謝!
Function ExcitationFunction(dtime As Double)
If (dtime < 1.0e-9) Then
ExcitationFunction = 1.0e9 * dtime
ElseIf (dtime < 2.0e-9) Then
ExcitationFunction = -1.0e9 * dtime + 2
Else
ExcitationFunction = 0.5
End If
End Function
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.124.72.31
→
10/11 17:28, , 1F
10/11 17:28, 1F
推
10/11 18:59, , 2F
10/11 18:59, 2F
→
10/11 18:59, , 3F
10/11 18:59, 3F