kimstudio Active Member Licensed User Longtime User Mar 31, 2024 #2 Just curious, if I have unused variables will B4X compiler automatically remove them out of the output compiled and are there any consequence like extra memeory usage? The warning is helpful for potential coding errors though.
Just curious, if I have unused variables will B4X compiler automatically remove them out of the output compiled and are there any consequence like extra memeory usage? The warning is helpful for potential coding errors though.
Erel B4X founder Staff member Licensed User Longtime User Apr 1, 2024 #3 The compiler will not remove unused variables. 1. The impact of those variables on the app size or memory usage is insignificant. 2. There are cases that the variables are actually used even if the compiler cannot detect the usage.
The compiler will not remove unused variables. 1. The impact of those variables on the app size or memory usage is insignificant. 2. There are cases that the variables are actually used even if the compiler cannot detect the usage.