vendredi 3 juin 2016

Adding strings

Hi Erel,

you say that adding strings is different than in b4a
because of "lack of memory" .....

But see in Ardruino. IDE I make it like this

float t = dht.readTemperature();
sendLine = String("Temp: ")+ t + "C";

Why it cant be like in b4a :

sendLine = "Temp: " & t & "C"

there should be a way your compiler/translater convert to the C code.
I dont see a different of memory usage.

Why, like this ?

Dim c As String = JoinStrings(Array As String ......

Maybe allow both options and the...

Adding strings

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1X2t4WJ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire