Daily Summary: Difference between revisions

119 bytes added ,  15:06, 12 April 2018
m
Line 34: Line 34:
*Version 1.2 defaults to showing the year found in the last row of dayfile.txt.
*Version 1.2 defaults to showing the year found in the last row of dayfile.txt.
*The final field on each row is not read correctly, because the row break has been specified wrongly for a Microsoft Windows environment, it should quote '''fdata.split("\r\n");''' i.e. ''defines that carriage return then line feed (newline) used to split daily observations in dayfile''.  Because the script presented here only processes a small number of fields from earlier in the row, this error does not affect the output for the published code.
*The final field on each row is not read correctly, because the row break has been specified wrongly for a Microsoft Windows environment, it should quote '''fdata.split("\r\n");''' i.e. ''defines that carriage return then line feed (newline) used to split daily observations in dayfile''.  Because the script presented here only processes a small number of fields from earlier in the row, this error does not affect the output for the published code.
* See more background in forum thread [http://sandaysoft.com/forum/viewtopic.php?f=18&t=8600 AnnualDataSummary PHP].


=== Configuration Variables  ===
=== Configuration Variables  ===
5,838

edits