Dim Tx As String, Txlen As an Integer, the Sum As Integer Tx="* c" 01 Txlen=Len (Tx) Sum=0 For I=1 To Txlen Sum=Sum + Asc (Mid (Tx, I, 1)) Next I Sum=((0 - Sum) And 127) Or 64
Tx=Tx + CRH (Sum) + vbCrLf
TX value is how much, thank you
CodePudding user response:
* cr 01 Why he should not run it yourself?
CodePudding user response:
Not * 01 CRCRLF Tx=Tx + CRH (Sum) + vbCrLf vbCrLf behind this sentence is what meaning, not professional writing VB