Calendar - for "REAL" programmers: Difference between revisions
Content added Content deleted
(→{{header|UNIX Shell}}: Note that approach requires Bash extensions. Add tty-based method.) |
m (BaCon and BBC BASIC moved to the BASIC section.) |
||
Line 519: | Line 519: | ||
30 |
30 |
||
</pre> |
</pre> |
||
=={{header| |
=={{header|BASIC}}== |
||
⚫ | |||
Choosing 132 character output. Same as the "Calendar" from [[Calendar#BaCon|the calendar task]] but using all capitals: |
Choosing 132 character output. Same as the "Calendar" from [[Calendar#BaCon|the calendar task]] but using all capitals: |
||
<syntaxhighlight lang="freebasic">DECLARE MON$[] = { "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" } |
<syntaxhighlight lang="freebasic">DECLARE MON$[] = { "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" } |
||
Line 575: | Line 576: | ||
28 29 30 31 25 26 27 28 29 30 31 29 30 27 28 29 30 31 24 25 26 27 28 29 30 29 30 31 |
28 29 30 31 25 26 27 28 29 30 31 29 30 27 28 29 30 31 24 25 26 27 28 29 30 29 30 31 |
||
</pre> |
</pre> |
||
⚫ | |||
==={{header|BBC BASIC}}=== |
|||
{{works with|BBC BASIC for Windows}} |
{{works with|BBC BASIC for Windows}} |
||
<syntaxhighlight lang="bbcbasic"> VDU 23,22,1056;336;8,16,16,128 |
<syntaxhighlight lang="bbcbasic"> VDU 23,22,1056;336;8,16,16,128 |