T tinmanjo Member Licensed User Jun 1, 2010 #1 help im having issues compiling my program but for some reason it runs ok, i get this message,(attached image) The strByte isnt declared incorrectly or anything, anyhow if you need the source http://www.b4x.com/forum/share-your-creations/5974-mud-client-ppc-hires-htc-hd2.html Im not sure what ive done wrong because the input parameters seem fine.
help im having issues compiling my program but for some reason it runs ok, i get this message,(attached image) The strByte isnt declared incorrectly or anything, anyhow if you need the source http://www.b4x.com/forum/share-your-creations/5974-mud-client-ppc-hires-htc-hd2.html Im not sure what ive done wrong because the input parameters seem fine.
S sitajony Active Member Licensed User Jun 1, 2010 #2 Hi, I'm not sure if it's right but did you try to remove the variable name before the bin function? I think that it dosen't return value... stream.Writebyte(StrByte)
Hi, I'm not sure if it's right but did you try to remove the variable name before the bin function? I think that it dosen't return value... stream.Writebyte(StrByte)
T tinmanjo Member Licensed User Jun 1, 2010 #3 sitajony said: Hi, I'm not sure if it's right but did you try to remove the variable name before the bin function? I think that it dosen't return value... stream.Writebyte(StrByte) Click to expand... You mean in this area of the code:- B4X: StrByte=Asc(StrAt(InData,i-1)) DataIn=stream.Writebyte(StrByte) im not sure where your refering to?
sitajony said: Hi, I'm not sure if it's right but did you try to remove the variable name before the bin function? I think that it dosen't return value... stream.Writebyte(StrByte) Click to expand... You mean in this area of the code:- B4X: StrByte=Asc(StrAt(InData,i-1)) DataIn=stream.Writebyte(StrByte) im not sure where your refering to?
Erel B4X founder Staff member Licensed User Longtime User Jun 1, 2010 #4 stream.WriteByte doesn't return any value so you cannot assign it to a variable.
T tinmanjo Member Licensed User Jun 1, 2010 #5 Doh i see where ive gone wrong now, ive taken out the DataIn= variable and now it works, thanks for your help!.
Doh i see where ive gone wrong now, ive taken out the DataIn= variable and now it works, thanks for your help!.