>>I once had a case of a logical expression which extended over eight lines (in Cobol :). It took me good ten minutes to reduce it to an equivalent two-liner. The person who wrote that was an economist. That taught me that while I have the feeling the logical expression are easy to do, I may not share that feeling with all the people :).
>
>The same is true for the expressions after WHERE, FOR, CASE and so on. It is my habit to present all combined ´parts´ of the expression not only between parentheses, but also on separate lines.
These are logical expressions too, so they do fall into the same category. And I also tend to split them over lines for clarity's sake - sometimes I even break an iif() if it's longer than my usual line length.
>Example:
>
select ;
> * ;
> from sometable ;
> where nose > 4_inch ;
> or mouth > 3_inch ;
> or ( ears > 5_inch and hair > 30_inch ) ;
> or hand > 10_inch ;
> into cursor c_table
Now this does look like a freak table :).