[Gambas-bugtracker] Bug #1700: Hide methods from compiler warnings

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Dec 22 10:24:39 CET 2019


C THAL reported a new bug.


Hide methods from compiler warnings

Type             : Request
Priority         : Medium
Gambas version   : 3.14
Product          : Language


I have a lot of methods that I just use during development or bug fixing and that open a single form or do only a special task of the whole project. They all reside in a module which usually calls just the one method I currently need in Main().

So for every compiler run I get a lot of warnings about "Unused function"s in that module and I would like to get rid of that.

Variables can be excluded from the compiler warnings by writing them in parantheses:

Dim (sSth) As String

Could the same be done with methods in future? For example:

Sub (HideThisSub)()


System information


More information about the Bugtracker mailing list