I am using the BA4 IDE 5.02 (1), on windows7 with .NET > 5
But the colors are not right. They are correct in the code posted here, but in the IDE this bit: Array As Object( m.name _ is green, as if it were a comment.
You can find the Sprintf module here: https://www.b4x.com/android/forum/threads/sprintf.10860/#content.
B4X:
Log(Miscellaneous.Sprintf($"UPDATE cards
SET name = '%s'
, short_name = '%s', WHERE (id = '%s')"$, Array As Object( m.name _
, m.index _
, m.symbol)))
But the colors are not right. They are correct in the code posted here, but in the IDE this bit: Array As Object( m.name _ is green, as if it were a comment.
You can find the Sprintf module here: https://www.b4x.com/android/forum/threads/sprintf.10860/#content.