From: Curtis L. O. <cur...@fl...> - 2006-09-18 18:28:55
|
Melchior FRANZ wrote: > * Curtis L. Olson -- 9/18/2006 5:12 PM: > > for(i=0; i<size(ai_craft);i=i+1){ > > if(getprop("ai/models/aircraft[" ~ i ~ "]/radar/in-range") != 0){ > > setprop("/instrumentation/radar/ai[" ~ i ~ "]/active",1); > > How is this coding style called? "Unstructured programming"? > Is that an attempt to avoid the discussion about whether tab or > space indentation is preferable? Or just a joke that I don't get? > User contributed code. Syd, FYI, we prefer a certain consistency with indentation. :-) It makes the code more readable to everyone else (and probably yourself too.) Curt. -- Curtis Olson http://baron.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d |