ABC problem: Difference between revisions

Content added Content deleted
(SuperCollider solution to Rosetta Code TASK: ABC_problem)
(Fix: syntax highlight language name - should be supercollider - NOT SuperCollider)
Line 10,416: Line 10,416:
=={{header|SuperCollider }}==
=={{header|SuperCollider }}==
{{works with|SuperCollider|3.13.0}}
{{works with|SuperCollider|3.13.0}}
Submitted to Rosetta Code 2024-06-18 by: MusicCoder.
Submitted to Rosetta Code 2024-06-18 by: Music Coder.
<syntaxhighlight lang="SuperCollider">
<syntaxhighlight lang="supercollider">
// ==========================================================================
// ==========================================================================
// START-SuperCollider solution to Rosetta Code TASK: ABC problem
// START:SuperCollider solution to Rosetta Code TASK: ABC_problem
// ==========================================================================
// ==========================================================================
(
(
/* ## BY: MusicCoder : 2024-06-18 ##
/* ## BY: Music Coder : 2024-06-18 ##
https://rosettacode.org/wiki/ABC_problem
https://rosettacode.org/wiki/ABC_problem
Given a list of blocks - with two letters on each block
Given a list of blocks - with two letters on each block
Line 10,439: Line 10,439:
and exit both loops
and exit both loops


NOTE: since 'block' is a METHOD in supercollider (used to created a breakable loop)
NOTE: since 'block' is a METHOD in SuperCollider (used to created a breakable loop)
to avoid confusion the data items with two letters will be called 'tiles'.
to avoid confusion the data items with two letters will be called 'tiles'.
*/
*/
Line 10,503: Line 10,503:
)
)
// ==========================================================================
// ==========================================================================
// **END-SuperCollider solution to Rosetta Code TASK: ABC problem
// **END:SuperCollider solution to Rosetta Code TASK: ABC problem
// ==========================================================================
// ==========================================================================
</syntaxhighlight>
</syntaxhighlight>
Line 10,516: Line 10,516:
word='ConFuseD' word-made=true test:passed
word='ConFuseD' word-made=true test:passed
</pre>
</pre>





=={{header|Swift}}==
=={{header|Swift}}==