24 game/Solve: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 4,146: Line 4,146:


=={{header|FutureBasic}}==
=={{header|FutureBasic}}==
This function gives just the first found (so simplest) solution. To see the exhaustive list, we would just remove the exit fn statements.
This programme gives just the first-found (simplest) solution. To see the exhaustive list, we would remove the <syntaxhighlight lang="futurebasic>if k > 0 then exit fn</syntaxhighlight> statements.
<syntaxhighlight lang="futurebasic>
<syntaxhighlight lang="futurebasic>