Hi
It would be good if the IDE could report warnings for code that won't anything and which doesn't cause any errors.
For example, the 'MyString.Replace' doesn't replace the word 'world' with 'everyone' in the following piece of code:
These warnings could be similar to the way that the IDE reports variables that are never assigned values or subs that are never called.
Regards
Joe
It would be good if the IDE could report warnings for code that won't anything and which doesn't cause any errors.
For example, the 'MyString.Replace' doesn't replace the word 'world' with 'everyone' in the following piece of code:
B4X:
Dim MyString As String
MyString = "Hello world"
MyString.Replace("world", "everyone")
Log(MyString)
These warnings could be similar to the way that the IDE reports variables that are never assigned values or subs that are never called.
Regards
Joe