French Republican calendar: Difference between revisions
Content added Content deleted
m (Go bugfix) |
|||
Line 21: | Line 21: | ||
=={{header|BBC BASIC}}== |
=={{header|BBC BASIC}}== |
||
{{broken|BBC BASIC}} (see talk page, Go bugfix, I did not actually prove this exhibits the same problem) |
|||
Computes leap years using the "continuous" method: a year in the Republican calendar is a leap year if and only if the number of the <i>following</i> year is divisible by 4 but not by 100 unless also by 400. No attempt is made to deal with ill-formed or invalid input dates. |
Computes leap years using the "continuous" method: a year in the Republican calendar is a leap year if and only if the number of the <i>following</i> year is divisible by 4 but not by 100 unless also by 400. No attempt is made to deal with ill-formed or invalid input dates. |
||
<lang bbcbasic>REM >frrepcal |
<lang bbcbasic>REM >frrepcal |