Cableguy Expert Licensed User Longtime User Nov 25, 2010 #1 I need to convert this line: Images=StrRemove(Images,Pointer,1) to b4 android.... Pointer is...well...a pointer i set, and I need to ofset by one...
I need to convert this line: Images=StrRemove(Images,Pointer,1) to b4 android.... Pointer is...well...a pointer i set, and I need to ofset by one...
maXim Active Member Licensed User Longtime User Nov 26, 2010 #2 Hi Cableguy, this can be a solution: Code: Copy Sub StrRemove(xString As String, xStartIndex As Int, xCount As Int) Dim s1 As String Dim s2 As String s1 = xString.SubString2(0, xStartIndex) s2 = xString.SubString(xStartIndex + xCount) Return (s1 & s2) End Sub Last edited: Dec 20, 2013 Upvote 0
Hi Cableguy, this can be a solution: Code: Copy Sub StrRemove(xString As String, xStartIndex As Int, xCount As Int) Dim s1 As String Dim s2 As String s1 = xString.SubString2(0, xStartIndex) s2 = xString.SubString(xStartIndex + xCount) Return (s1 & s2) End Sub
Cableguy Expert Licensed User Longtime User Nov 27, 2010 #3 Thanks for the reply, in the meanwhile, I had found the solution, concatenating two strings...pretty close to what you got Upvote 0
Thanks for the reply, in the meanwhile, I had found the solution, concatenating two strings...pretty close to what you got
D doraneko Member Licensed User Longtime User Dec 9, 2010 #4 I need Help! Next equations are Ok in B4PPC, but not in B4A. b = 22 * ( h / 100 )^2 s = w^0.444 * h^0.663 * (88.83 /10000) Please teach me! Upvote 0
I need Help! Next equations are Ok in B4PPC, but not in B4A. b = 22 * ( h / 100 )^2 s = w^0.444 * h^0.663 * (88.83 /10000) Please teach me!
agraham Expert Licensed User Longtime User Dec 9, 2010 #5 You need to use the Power function instead of the ^ operator b = Power(22 * ( h / 100 ), 2) Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2010 #6 The ^ operator is not supported. You should use Power method: Code: Copy b = 22 * Power(h/100, 2) s = Power(w, 0.444) * Power(h, 0.663) * (88.83 / 10000) Upvote 0
The ^ operator is not supported. You should use Power method: Code: Copy b = 22 * Power(h/100, 2) s = Power(w, 0.444) * Power(h, 0.663) * (88.83 / 10000)
D doraneko Member Licensed User Longtime User Dec 9, 2010 #7 Thank you for very quick reply! Upvote 0
A aj11 Member Licensed User Longtime User Mar 4, 2012 #8 Ticks in both versions I am using simultaneously HP Ipaq(Win mobile) and Sony reader(Android) for sending also date datas. Sorting is much easier with tics, but they are different in both versions. Any suggestions how to equalize these in B4A to B4PPC? Thanks in advance. Ales Upvote 0
Ticks in both versions I am using simultaneously HP Ipaq(Win mobile) and Sony reader(Android) for sending also date datas. Sorting is much easier with tics, but they are different in both versions. Any suggestions how to equalize these in B4A to B4PPC? Thanks in advance. Ales
Erel B4X founder Staff member Licensed User Longtime User Mar 5, 2012 #9 Please start a new thread for this question. Upvote 0