Unfortunately, SELECT cannot assess more than one variable at a time:

code:

break on
cls


$a=1
$b=2


select
case $a=1 "$$a is 1" ?
case $b=2 "$$b is 2" ?
case else "something is not" ?
endSelect
quit


When you run that, you will get "$a is 1" only because KiX will not test the CASE $b=2 line.

cj

------------------
For more scripts goto my website and click the hammer and spanner icon.

chrismat@ozemail.com.au