pb with standAlone & MySQL

Sylvain Le Gourriérec sylvain.legourrierec at son-video.com
Sun Oct 13 06:34:01 EDT 2002


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20021013/d3bc5db0/attachment.html>


More information about the Use-livecode mailing list