[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #883: Can we have 'Unused variables' warning coming up with the run button?

Benoît Minisini gambas at ...1...
Thu Sep 14 12:35:04 CEST 2017



-------- Message transféré --------
Sujet : [Gambas Bug Tracker] Bug #883: Can we have 'Unused variables' warning coming up with the run button?
Date : Thu, 14 Sep 2017 10:33:20 GMT
De : bugtracker at ...3416...
Pour : chrisml at ...3340..., moviga at ...3488..., g4mba5 at ...626...

http://gambaswiki.org/bugtracker/edit?object=BUG.883&from=L21haW4-

Comment #4 by Moviga TECHNOLOGIES:

I practically never use the Compile All button, and the info is good to keep the code clean.

Alternatively, B4A (Basic for Android) has a cool way to deal with this. It puts a red line under the variable declaration (and functions) that are never used. Like this (though this is a different issue showing): https://www.b4x.com/basic4android/images/SS-2013-05-02_17.41.51.png







More information about the User mailing list