need a way to output a variable value from a module 
	 
	
		| Author | 
		Message | 
	 
		 
		JayLo
 
 
 
    
		 | 
		
		
			
				  Posted: Tue Jun 03, 2003 6:08 pm    Post subject: need a way to output a variable value from a module  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| how do to it: need a way to output a variable value from a module? | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	 
	 
		  | 
	 
				 
		Tony
 
  
 
    
		 | 
		
		
			
				  Posted: Tue Jun 03, 2003 6:56 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				well you could export the variable.
 
 
module name
 
 export procedureName, variableName...
 
...
 
 
 
or if for some reason you cant do that, you can export a function that returns the value of the variable. | 
			 
			
				 
Tony's programming blog. DWITE - a programming contest. | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		JayLo
 
 
 
    
		 | 
		
		
			
				  Posted: Tue Jun 03, 2003 9:41 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| right. thanks a bunch. | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		 | 
	 
 
	
	
	 
	
	 |