Dear,

A possible structure with if/else/endif can be:

code:

IF condition_a
code
ELSE
IF condition_b
code
ELSE
IF condition_c
code
ELSE
code ; -in all other cases-
ENDIF
ENDIF
ENDIF


The select/case/endselect structure has the same effect and
is easier to read.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA