hmmm, getting there, but all things being equal, and I comment-out the exist() function - and replace it with a hard-coded false, it works:

break on

FileExists ("blah-blah")

@ERROR

exit 1

function FileExists($filename)
  $FileExists = 0 ; exist($filename)
  if $FileExists
   exit 0
  else
   exit 2
  endif
endfunction



-Shawn

[ 07 May 2002, 07:16: Message edited by: Shawn ]