3
将带有%符号的整数DataValue%传入函数是什么意思?这与刚刚通过没有“%”的情况有什么不同?vb6函数调用中的百分比和符号
另外,通过PortNum%和PortNum是什么意思?
Private Sub WritePortValue(ByVal DataValue As Integer)
' write the value to the output port
' Parameters:
' BoardNum :the number used by CB.CFG to describe this board
' PortNum& :the output port
' DataValue% :the value written to the port
ULStat& = cbDOut(BoardNum, PortNum&, DataValue%)
If ULStat& <> 0 Then
Stop
Else
lblShowValOut.Caption = Format$(DataValue%, "0")
End If
End Sub
的'@''是Currency' – Bob77
我不能强调不够的经营者的邪恶是。使用明确命名的投射功能。 – UnhandledExcepSean