In a B4J server project, I have a code module with a public Sub, like this:
In Main:
In the IDE, DEBUG is selected but this message appears:
Unknown member: DoSomething
However, the project compiles and works.
EDIT: but in release mode, calls to DoSomething are a problem, it is not possible to compile in Release mode (and this is normal, correct, in Release mode that Sub does not exist).
B4X:
#IF DEBUG
Public Sub DoSomething
End Sub
#END IF
B4X:
modUtils.DoSomething
Unknown member: DoSomething
However, the project compiles and works.
EDIT: but in release mode, calls to DoSomething are a problem, it is not possible to compile in Release mode (and this is normal, correct, in Release mode that Sub does not exist).
Last edited: