Function error (count0)
xsh.Screen.Send("check_error:" + count0)
xsh.Screen.Send(VbCr)
xsh.Dialog.MsgBox("reboot:" +count)
xsh.Dialog.MsgBox("check route")
End Function
Sub Main
dim j:j=2
error(j)
xsh.Screen.Send(" route -ne ")
End Sub
' Function check2(kjl)
' check(kjl) = 2
' xsh.Screen.Send(" route -ne | grep 0.0.0.0 | wc -l ")
' xsh.Screen.Send(VbCr)
' screenrow = xsh.Screen.CurrentRow
' data = xsh.Screen.Get(screenrow-1,1,screenrow-1,20)
' if CInt(Instr(1,data,"4",1)) = "1" Then
' check(kjl) = 0
' End If
' end function
這個腳本是掛在xshell上的,但是函式傳參就說型別不匹配怎么回事啊?
uj5u.com熱心網友回復:
Line#1 :型別不匹配‘[string:"check_error"]’這個是錯誤資訊轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/269019.html
標籤:驅動程序開發區
