Hi,
can sbd help me for convert the code from VB.NET to B4A?
can sbd help me for convert the code from VB.NET to B4A?
B4X:
Dim i As Integer
Integer.TryParse(Parse1, OUTPUT1)
Integer.TryParse(Parse2, OUTPUT2)
Integer.TryParse(Parse3, OUTPUT3)
Integer.TryParse(Parse4, OUTPUT4)
If OUTPUT1 < 0 OrElse OUTPUT1 > 255 Then Return
For i = 0 To 7
myCheckBoxen1(i).Checked = (OUTPUT1 And 1 << i) > 0
myCheckBoxen2(i).Checked = (OUTPUT2 And 1 << i) > 0
myCheckBoxen3(i).Checked = (OUTPUT3 And 1 << i) > 0
myCheckBoxen4(i).Checked = (OUTPUT4 And 1 << i) > 0
Next i