>>The number of the current player is stored in variable
lnCurrentPlayer.
>>
>>For the names of the players, you use an array
laPlayerNames, declared with DIMENSION laPlayerNames(10). The name of the current player is
laPlayerNames(lnCurrentPlayer).
>>
>>The score of the current player is laScores(lnCurrentPlayer) (that is, in another array, also with 10 elements).
>>
>>This particular example would be more difficult to manage with cursors.
>>
>>HTH, Hilmar.
>
>Why? :)
>
>You can have a cursor with three fields: ID, Name, Score...
>What's the difference?
I believe it is simply more code to maintain the cursor, but I didn't do a detailed analysis.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)