[AccessD] Is there a preferred style

Joe Hecht jmhla at earthlink.net
Tue Mar 22 23:12:58 CST 2005


Working alone is the pits.
 
I have three tests to set the value of a text box. What is considered to be
good coding practice?
 
1.	if test one is true then
do something
            end if
 
            if test two is true then 
                        dosomething
                        else
 do something
            end if
end sub
    
 
2.	            if test one is true then
do something
            else
                        if test two is true then 
                        dosomething
                        else
 do something
            end if
            end if
end sub
 
 
 
 
 



More information about the AccessD mailing list