And I'm not even close:

Code:

KiXtart
KiXtart Version = 4.22
KiXforms Version =
KiXGolf Script = kixgolf_vigenere.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium II
Speed = 448 MHz
Memory = 384 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: Vigenere Cipher
Valid Cipher Ops = 10 (100%)
Processing Start = 2004/07/29 22:35:58.930
Processing End = 2004/07/29 22:35:59.230
Duration = 0000/00/00 00:00:00.300
KiXGolf Score = 695

Thank you for participating in KiXtart Golf!



Code passes testscript but not with sentence thingie / word shift in it...

Jens,

could you check the calculation of the percentage of valid Ops???

Thinking: $iValidPercent=FormatNumber(CDbl($iValid)/$iTotal*100,0)
Should be: $iValidPercent=FormatNumber(CDbl($iValid)/($iTotal+1)*100,0)

_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...