Determine if a string has all the same characters: Difference between revisions

Content added Content deleted
(Added Chipmunk Basic)
Line 445: Line 445:
"4444 444k" OF LENGTH 9.
"4444 444k" OF LENGTH 9.
</pre>
</pre>

==={{header|Chipmunk Basic}}===
{{works with|Chipmunk Basic|3.6.4}}
The [[#GW-BASIC|GW-BASIC]] solution works without any changes.

==={{header|GW-BASIC}}===
==={{header|GW-BASIC}}===
{{works with|BASICA}}
{{works with|BASICA}}
{{works with|PC-BASIC|any}}
{{works with|PC-BASIC|any}}
{{works with|Chipmunk Basic|3.6.4}}
<syntaxhighlight lang="gwbasic">
<syntaxhighlight lang="gwbasic">
10 'SAVE"SAMECHAR", A
10 'SAVE"SAMECHAR", A