Because it's no more possible to know which will be loaded or not.Moved to the questions forum.
The unused files warning will not appear at all if you load an asset file in a non-static way.
For example:
B4X:LoadBitmap(File.DirAssets, "aaa" & x)
I know but I have not used (no more) them (2 image files) at all, in any line of code.Moved to the questions forum.
The unused files warning will not appear at all if you load an asset file in a non-static way.
For example:
B4X:LoadBitmap(File.DirAssets, "aaa" & x)
I'm not loading it. New projects seem to work; I can send you the... usual project , if you want.Reread my previous post. If you aren't loading any asset file in a dynamic way then try to reproduce it in a small project and upload it.
It doesn't matter whether you are loading it or not.I'm not loading it
If False Then LoadBitmap(File.DirAssets, "aaa" & x)
is it possible that I am understanding the opposite?No. The warning engine doesn't try to evaluate the expression. If it is not a string literal then it disables this warning completely.
It depends. See my answers in posts #2, #6, #8, #10. No point in writing the same answer for the fifth timeThe engine is not able, cannot evaluate variables; just for this reason if I search the file name in my code and I don't find it (post #5), as the engine do, the warning should be shown. Or not?!?!
Finally I understand what you mean.
If my code contains some kind of command which COULD (or might? I don't knwo which verb shoud I use here ) be related to some file, no warning (about any file) will be shown.
Sometimes I'm tired (often) but also words like "could", "might", "any", "some", when you (me) don't speak english very well, increase my confusion .Congratulations, you should take up fishing
Dannazione (it is not a very bad word ), I must apologize and it is never possible to find an error made by Erel!Ok, i'm stopping here: you're wrong