This time i'm sure
If you specify the scope of a routine (I tried a code module routine) and you don't use that routine, you don't get a warning. If you use only "Sub" then you get the message.
If you specify the scope of a routine (I tried a code module routine) and you don't use that routine, you don't get a warning. If you use only "Sub" then you get the message.
B4X:
' No warnings
Public Sub UnusedRoutine
End Sub
' Warning
Sub UnusedRoutine
End Sub