Indeed I use answer command...
 
example.
 
 
 
--------------------------------------------------------
function check_error theMessage  
  
  if char 1 to 6 of theMessage is "Erreur" then
   
    answer theMessage titled "Message d�erreur" with "OK"
   
    return "Erreur" & cr & theMessage
   
  end if
 
 
  return theMessage
 
 
end check_error
 
 
 
-------------------------------------------------------------
function connect_mysql_myBase
 
get revdb_connect("MySQL", myHost, myBase, myUser, myPassword)
 
if it is not an integer then return "Erreur connect_mysql_myBase()" & cr & cr & it
 
return it
 
end connect_mysql_myBase
 
 
 
 
and so on,
 
when I call a function, I check it with my check_error function which, indeed, makes use of answer command.
 
 
Is that the problem?
 
Maybe but why?
 
 
 

 
 
 
 
 
---------------------------------------------------------------------------------------------------------------------------------------------
Sylvain Le Gourri�rec  ��  d�veloppement  �� son-video-distribution   www.son-video.com
 
------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4

Reply via email to