print $x if $x == 1;

In C, I prefer

if (x == 1)
{
     ...
}

I like the curlies to line up. I may be the only one in the world that 
feels this way.

Patrick McCabe


David Phillips wrote:

> Ken Fuchs writes:
> 
>>if (x == 1) {
>>    ...
>>}
>>
> 
> 
> Personally, I prefer this:
> 
> if x == 1:
>     print x
> 


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list