B4X:
I have this code :
Dim testlong As Long = 55
Dim jo3 As JavaObject
jo3.InitializeContext
Log(jo3.RunMethod("ShiftLeft", Array(DateTime.Now, 1)))
Log(jo3.RunMethod("Shiftleft",Array(testlong, 1)))
#If JAVA
public long ShiftLeft(long N, Integer Shift) {
return N << Shift;
}
#End If
The output from the shiftleft datetime = 2997514730328 this is ok
But there is no output or error from the shiftleft testlong line.
What is wrong ? should be 110