<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Indeed I use answer command...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>example.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>--------------------------------------------------------<BR>function 
check_error theMessage&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp; if char 1 to 6 of 
theMessage is "Erreur" then<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; answer 
theMessage titled "Message derreur" with "OK"<BR>&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp; return "Erreur" &amp; cr &amp; 
theMessage<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp; end if<BR>&nbsp; <BR>&nbsp; 
<BR>&nbsp; return theMessage<BR>&nbsp; <BR>&nbsp; <BR>end 
check_error</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>-------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>function connect_mysql_myBase</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>get revdb_connect("MySQL", myHost, myBase, myUser, 
myPassword)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if it is not an integer then return "Erreur 
connect_mysql_myBase()" &amp; cr &amp; cr &amp; it</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>return it</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>end connect_mysql_myBase</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and so on,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>when I call a function, I check it with my 
check_error function which, indeed, makes use of answer command.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is that the problem?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Maybe but why?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV>
<DIV><BR></DIV></FONT>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>---------------------------------------------------------------------------------------------------------------------------------------------<BR>Sylvain 
Le Gourrirec&nbsp; &nbsp; dveloppement&nbsp;  
son-video-distribution&nbsp;&nbsp; <A 
href="http://www.son-video.com">www.son-video.com</A><BR>&nbsp;<BR>------------- 
I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 &amp; PHP 
4</FONT></DIV></BODY></HTML>