Calendar - for "REAL" programmers: Difference between revisions

Content added Content deleted
imported>Arakov
m (→‎{{header|Wren}}: Minor tidy)
Line 4,430: Line 4,430:
{{libheader|Wren-fmt}}
{{libheader|Wren-fmt}}
{{libheader|Wren-seq}}
{{libheader|Wren-seq}}
<syntaxhighlight lang="ecmascript">IMPORT "/DATE" FOR DATE
<syntaxhighlight lang="text">IMPORT "./DATE" FOR DATE
IMPORT "/FMT" FOR FMT
IMPORT "./FMT" FOR FMT
IMPORT "/SEQ" FOR LST
IMPORT "./SEQ" FOR LST


VAR CALENDAR = FN.NEW { |YEAR|
VAR CALENDAR = FN.NEW { |YEAR|
Line 4,482: Line 4,482:


{{libheader|Wren-str}}
{{libheader|Wren-str}}
<syntaxhighlight lang="ecmascript">import "io" for File
<syntaxhighlight lang="wren">import "io" for File
import "/str" for Str
import "./str" for Str
import "meta" for Meta
import "meta" for Meta


Line 4,542: Line 4,542:
30
30
</pre>
</pre>

=={{header|X86 Assembly}}==
=={{header|X86 Assembly}}==
ASSEMBLE WITH: TASM CALENDAR; TLINK /t CALENDAR
ASSEMBLE WITH: TASM CALENDAR; TLINK /t CALENDAR