Long year: Difference between revisions

Content added Content deleted
(Added Lua version)
m (→‎{{header|BASIC}}: fixed S-BASIC header)
Line 804:
<pre>Same as BASIC256 entry.</pre>
 
==={{header|S-BasicBASIC}}===
<syntaxhighlight lang="basic">
$lines
Line 833:
comment
The simplest of several possible tests is that
any calendarISO year starting or ending on a
Thursday is "long", i.e., hasspans 53 ISO weeks
end
function islongyear(yr = integer) = integer