bug compiling to emulator v1.7 & 1.8

tuicemen

Member
Licensed User
Longtime User
When I try code in the emulator for UDP like this :
B4X:
Dim Packet As UDPPacket    
   Dim data() As Byte 
data = ("-01"&edittext4.text&"SAY " & EditText1.text).GetBytes("UTF8") 
   Packet.Initialize(data, edittext2.text,EditText3.text)
I would thing there would be no space between edittext4.text and the "SAY "
However a space is placed there in the emulator and not when I compile and load to a device.
V1.6 didn't have this error and I didn't load 1.7 till Dec it has taken me a while to fine it. I just installed 1.8 and then bug is still there.
:sign0161:
 

tuicemen

Member
Licensed User
Longtime User
:sign0148:
I retyped this 100 times and when the emulator poped up a suggestion I clicked on it.
This time I ignored the suggestions and continued on.
I'm Such a newbie! :signOops:
 

ta1dr

Member
Licensed User
Longtime User
I have compiler problem

Hi Erel

I tried ADR string fron previous version no any problem but I can try 1.8 version B4A give compiler error like this

Compiling code. Error
Error parsing program.
Error description: Sub Process_Globals is missing.

regards
 

Attachments

  • adr_string.zip
    7.7 KB · Views: 205
Cookies are required to use this site. You must accept them to continue using the site. Learn more…