I'm converting a B4A app to B4i and I'm getting this compile error:
B4i Version: 8.51
Parsing code. (0.08s)
Building folders structure. (0.00s)
Compiling code. Error
Error compiling program.
Error description: Integer expected.
Error occurred on line: 2272
If Main.CompHand.Get(N) Mod 13 = Kay Mod 13 Then KCount = KCount + 1
Word: mod
All of the variables here are INT.
B4i Version: 8.51
Parsing code. (0.08s)
Building folders structure. (0.00s)
Compiling code. Error
Error compiling program.
Error description: Integer expected.
Error occurred on line: 2272
If Main.CompHand.Get(N) Mod 13 = Kay Mod 13 Then KCount = KCount + 1
Word: mod
B4X:
For N = 0 To Main.CompHand.Size - 1
If Main.CompHand.Get(N) < 53 Then
If Main.CompHand.Get(N) Mod 13 = Kay Mod 13 Then KCount = KCount + 1
End If
Next
All of the variables here are INT.