i'm failing to understand the do while(1) construct, 1 in () does it mean anything in the expression without referencing a variable name in the do while(expression) data w ( keep = date time cond species vers hdr x1 - x9 ) ; format date date7. time time12.2 ; infile cards truncover eof = fini ; input @'date ' datec $char9. @'time ' time :time11. / @'Condition: ' cond $char20. / @'Species: ' species $8. / @'version: ' vers $8. / @'information: ' hdr $20. / ; /* will the software produce bad dates in 2+ years??? */ date = input ( compress ( datec,'-'), date7. ) ; do while ( 1 ) ; /* what does this expression mean?*/ input ( x1 - x9 ) ( :$20. ) ; output ; end ; return ; fini: return ; cards ; date 10-jan-95 time 05:20.36.44 Condition: blah, blah, blah, Species: 4LA Software version: xxx.xx Other header information: aaaa.a bbbbb.b operators-who-collected-the-data... x y x az el ra speed direction, etc. x y x az el ra speed direction, etc. x y x az el ra speed direction, etc. x y x az el ra speed direction, etc. x y x az el ra speed direction, etc. ;
... View more