Hello,
My goal is to reset many public variables defined in a code module named 'zz'.
The zz.Process_Globals command seems fine. (See attached example).
The first compilation works in debug and release mode. However, if a compilation in relase mode has already been done, a compilation error occurs if you want to compile again (debug or release mode). Here is the error:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			My goal is to reset many public variables defined in a code module named 'zz'.
The zz.Process_Globals command seems fine. (See attached example).
The first compilation works in debug and release mode. However, if a compilation in relase mode has already been done, a compilation error occurs if you want to compile again (debug or release mode). Here is the error:
zz.Process_Globals
src\b4a\example\main.java:432: error: cannot find symbol
mostCurrent._zz._process_globals /*String*/ ();
^
symbol: method _process_globals()
location: variable _zz of type zz
Thanks,src\b4a\example\main.java:432: error: cannot find symbol
mostCurrent._zz._process_globals /*String*/ ();
^
symbol: method _process_globals()
location: variable _zz of type zz
			
				B4X:
			
		
		
		In main activity
Sub Button1_Click
    zz.Process_Globals
    labl1.Text = "Test="&zz.test
End Sub
In zzmodule
Sub Process_Globals
    Public test As Int
End Sub 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		