Wiki
Show
Ignore:
Timestamp:
03/20/10 08:18:40 (2 years ago)
Author:
Chuck.Esterbrook
Message:

Code cleanup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Samples/BlindWatchMaker1.cobra

    r2075 r2339  
    162162            score = 0 
    163163            for i in goal.length 
    164                 if candidate[i] == goal[i] 
    165                     score += 1 
     164                if candidate[i] == goal[i], score += 1 
    166165            value = (score / goal.length * 100) to int 
    167166            return value