Hi,
I downloaded the new version on basic4android and wrote a little program and recognized a bug:
Here a demo:
dim key as string
dim key_field as string
key="SMS"
key_field = key.SubString2(0,7)
So whats happen is, when the string is smaller, than from index to index than the program
just finish at the substring2 line. No error message, nothing.
In other languagues, like vb6 .... the result would be "SMS"
For newcomers to b4a its a real hint, and can take ours of searching.
rgs
Kohle
I downloaded the new version on basic4android and wrote a little program and recognized a bug:
Here a demo:
dim key as string
dim key_field as string
key="SMS"
key_field = key.SubString2(0,7)
So whats happen is, when the string is smaller, than from index to index than the program
just finish at the substring2 line. No error message, nothing.
In other languagues, like vb6 .... the result would be "SMS"
For newcomers to b4a its a real hint, and can take ours of searching.
rgs
Kohle