I recently came across this explanation and was wondering if and when you would use the 6th statement b=6=5?
Using Equals Statement Type Meaning Loop until X = 5 Condition Is X equal to 5 Do Until X = 5 Condition Is X equal to 5 If X = 5 Then Condition Is X equal to 5 For X = 1 to 5 Assignment Set value of X to 1, then 2 etc. X = 5 Assignment Set the value of X to 5 b = 6 = 5 Assignment & Condition Assign b the result of Condition 6 = 5 X = MyFunc(5,6) Assignment Assign X to the value Returned from the Function 
Can someone give a good example of when you would use this statement?



 
			
			 
					
				 
                    
            
            
                 
            
         
					
					
					
						 Reply With Quote
  Reply With Quote 
                    
            
            
                 
            
         
                    
            
                 
            
            
         Originally Posted by Aussiebear
 Originally Posted by Aussiebear
					
 ) IIf for things like
) IIf for things like 
						 
						 
                    
            
            
         
			