The Name Game: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: added the computer programming language REXX.)
m (→‎{{header|REXX}}: fixed an HTML tag.)
Line 499: Line 499:


=={{header|REXX}}==
=={{header|REXX}}==
Extra code was added to the REXX program to capitalize the name (and lowercase all characters in the name except the 1<sup>st</sup>).
Extra code was added to the REXX program to capitalize the name (and lowercase all characters in the name except the 1<sup>st</sup> character).
<br>Also, dual names are supported &nbsp;(like Mary Ann).
<br>Also, dual names are supported &nbsp;(like Mary Ann).
<lang rexx>/*REXX program displays the lyrics of the song "The Name Game" by Shirley Ellis. */
<lang rexx>/*REXX program displays the lyrics of the song "The Name Game" by Shirley Ellis. */
Line 534: Line 534:
say z'!'; say
say z'!'; say
return</lang)
return</lang)
{{out|output|text= &nbsp; when using the default (internal) names:}}
((out|output|text= &nbsp; when using the default (internal) names:))
<pre>
<pre>
Gary, Gary, bo-bary
Gary, Gary, bo-bary