On Sep 22, 2004, at 2:39 PM, Catherine Moroney wrote:
> flt_data(add1(isds))%x => qa_data%wind_data%lo_wind_ns%value
> int_data(add1(isds))%x => qa_data%wind_data%lo_wind_ns%count
> flt_data(add1(isds))%x => qa_data%wind_data%lo_wind_ew%value
> int_data(add1(isds))%x => qa_data%wind_data%lo_wind_ew%count
(where add1 increments its argument).
Ouch. I wouldn't trust it. According to me it is invalid. And I'd bet
that
someday you'll run into a compiler that figures it would be a good idea
to
optimize the 4 add1 calls by doing it just once. I don't really get much
pleasure out of saying "I told you so", so I'd recommend against doing
it.
--
Richard Maine | Good judgment comes from experience;
[log in to unmask] | experience comes from bad judgment.
| -- Mark Twain
|