Examining a different function
Let's go back and examine the values in deal_hands():
   (dbxtra) func deal_hands
The code in the source window now includes the offending line:
   for( player=0; player<=4; player++ )
The limit on the loop counter (player) should have
been set to 3 instead of 4, so there is four
iterations instead of five.
How can we test this suspicion?
Next topic: 
Using a breakpoint
Previous topic: 
Analyzing the results
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003