Fremde Programme und Dokumentation

Ein 1470 Zeilen Fortran-Programm und ich soll es verstehen…

Da ich Fortran echt unangenehm zu lesen finde…

if((lcount.gt.2.and.tickb4.gt.0.and.afterncount.le.2).or.\
(lcount.gt.2.and.tickb4.gt.0.and.tick.le.1))then

… und der Code des Programmes nicht dokumentiert ist, sondern nur das Programm selber, und ich auch nicht finde, dass alle Variablen so bezeichnet sind, dass sich sofort erkennen lässt, wofür sie verwendet werden, werde ich nur die Funktionalität neu implementieren.

Also mal in der Dokumentation lesen:

windy conditions (when the difference between the maximum and minimum tare is > 5g)

Okay, aber wie kann dann dieses hier sein?

If only a single leaving tare is available and this leaving tare value is identified as “windy” then [...]

Vielleicht bin ja auch nur zu müde, aber irgendwas kommt mir da komisch vor… ;-) Also morgen mal in den Fortran-Code schauen, was da wirklich gemacht wird.

Tags: , ,

Eine Antwort hinterlassen