% 記号を使用して整数の DataValue% を関数に渡すとはどういう意味ですか? これは、「%」なしで渡すだけとどう違うのですか?
また、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