Calendar - for "REAL" programmers: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added a command about the FOLD option for printers. -- ~~~~)
Line 24: Line 24:
=={{header|Ada}}==
=={{header|Ada}}==


In Ada, the task is really easy, because Ada is case insensitive. I.e., one could simply replicate the code from [http://rosettacode.org/wiki/Calendar#Ada Ada solution of the calendar task] and convert every lowercase character to uppercase. Instead of doing that, the implementation below reuses the package "PRINTABLE_CALENDAR" (same as "Printable_Calendar" or "printable_calendar") from [http://rosettacode.org/wiki/Calendar#Ada the calendar task]:
In Ada, the task is really easy, because Ada is case insensitive. I.e., one could simply replicate the code from [[Calendar#Ada|Ada solution of the calendar task]] and convert every lowercase character to uppercase. Instead of doing that, the implementation below reuses the package "PRINTABLE_CALENDAR" (same as "Printable_Calendar" or "printable_calendar") from [[Calendar#Ada|the calendar task]]:


<lang Ada>WITH PRINTABLE_CALENDAR;
<lang Ada>WITH PRINTABLE_CALENDAR;