yep, I know you prefer.
anyway, I must insist on saying you do multiple checks and I would ask for you to show me kix version that does not support my way.

so, lets examine:
IF (InGroup("DIV_TRAIN") <> 0)

your InGroup("DIV_TRAIN") returns true if true.
adding InGroup("DIV_TRAIN") <> 0 does the same with double checking. it also accepts negative input which is bad.
anyway, then having brackets (InGroup("DIV_TRAIN") <> 0 ) around that code copies the TRUE to TRUE which is third "conversion".

so what should be:
if person is in group

turns in your preferred way to:
if expression of different than zero expression from person is in group

eh?
should we run some speed tests too?

[ 03. December 2002, 03:52: Message edited by: Lonkero ]
_________________________
!

download KiXnet