Created
July 17, 2012 00:29
-
-
Save hvgotcodes/3126106 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if 9 >= holeNumber >= 1 | |
outScore += holeScore if holeScore | |
outToPar += holeScore - par if par.length and holeScore | |
else | |
inScore += holeScore if holeScore | |
inToPar += holeScore - par if par.length and holeScore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment