In that case you will have to differentiate more anyway, e.g.
code:
$rc=fnremapdrives()
select
case @ERROR
case $rc=0
case $rc=-1
case 1
endselect
;or (assuming that @ERROR=0 even if $rc=-1)
if @ERROR
else
endif

[/code]
_________________________
There are two types of vessels, submarines and targets.