k, as got no answer...
this udf works only with class-c
thus it also passes the tests [Big Grin]

code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/26 12:17:57.930
Processing End = 2003/05/26 12:18:00.233
Duration = 0000/00/00 00:00:02.302
# Loops = 1
KiXGolf Result = passed (7 out of 7 correct)
KiXGolf Score = 861

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet