ABC problem: Difference between revisions
Content added Content deleted
Music Coder (talk | contribs) (SuperCollider solution to Rosetta Code TASK: ABC_problem) |
Music Coder (talk | contribs) (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: |
Submitted to Rosetta Code 2024-06-18 by: Music Coder. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="supercollider"> |
||
// ========================================================================== |
// ========================================================================== |
||
// START |
// START:SuperCollider solution to Rosetta Code TASK: ABC_problem |
||
// ========================================================================== |
// ========================================================================== |
||
( |
( |
||
/* ## BY: |
/* ## 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 |
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 |
// **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}}== |