<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi John:<BR> <BR>In CEDIT I would code a printf for each parameter. to check that they have been passed correctly.<BR> <BR> <BR>BTW:-<BR> <BR>Powerhouse pads with blanks for unequal length character string comparisons.<BR>In C, I like to null terminate strings. I do not want to compare blank with the<BR>null character. So I make my comparisons against a substring of the string coming<BR>back from C. You probably can get away with it if the C code does modify the original<BR>PowerHouse string value and you are testing for a change in the Powerhouse string value.<BR> <BR>In your case the null is in position 2. <BR> <BR>if "Y" <> t_prod_ok[1:1] <BR>then display t_err_msg<BR>end<BR><BR>instead of <BR> <BR>if t_prod_ok <> "Y" <BR>then display t_err_msg<BR>end<BR><BR>Regards,<BR>Peter<BR><br /><hr />Faster Hotmail access now on the new <a href='http://go.microsoft.com/?linkid=9677399' target='_new'>MSN homepage.</a></body>
</html>