Number reversal game: Difference between revisions

Content added Content deleted
(Added BBC BASIC)
(→‎{{header|BBC BASIC}}: Marked incorrect with link to talk page.)
Line 282: Line 282:


=={{header|BBC BASIC}}==
=={{header|BBC BASIC}}==
{{incorrect|BBC BASIC|[[Talk:Number_reversal_game#What_Happens_if_the_initial_shuffle_returns_the_list_in_sorted_order.3F|What Happens if the initial shuffle returns the list in sorted order?]]}}
Note the use of the MOD(array()) function to test the equality of two arrays.
Note the use of the MOD(array()) function to test the equality of two arrays.
<lang bbcbasic> DIM list%(8), done%(8), test%(8)
<lang bbcbasic> DIM list%(8), done%(8), test%(8)