try:

function main()
{
mySQL_Connectdb("database","host","user","passwort");
if(!mySQL_IsConnected())
{
beep;
exit;
}
str_cpy(output_text, "Connected!");
while(1)
{
wait(1);
}
}


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku