The first IF-ELSe-ENDIF section is incorrect. Please read the manual about correct syntaxt. Corrected syntax:
code:
IF INGROUP ("MOVED_USERS")
GOSUB gla
ELSE
IF INGROUP ("GRAMPIAN-GRP")
GOSUB gra
ELSE
IF INGROUP ("PANDD-GRP")
GOSUB pan
ELSE
IF INGROUP ("PRIME-GRP")
GOSUB pri
ENDIF
ENDIF
ENDIF
ENDIF
Better would be to use a SELECT-CASe-ENDSELECT statement since yoiur choices are mutually exclusive:
code:
SELECT
CASE INGROUP ("MOVED_USERS")
GOSUB gla
CASE INGROUP ("GRAMPIAN-GRP")
GOSUB gra
CASE INGROUP ("PANDD-GRP")
GOSUB pan
CASE INGROUP ("PRIME-GRP")
GOSUB pri
CASE 1
; not in any of the above groups
ENDSELECT
Uups, Howard, I think I scrolled by your code without noticing it, wasn't intentional. ![[Embarrassed]](images/icons/blush.gif)
[ 12 July 2002, 15:20: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.