Is my syntax is correct?
843836Feb 6 2004 — edited Feb 6 2004hi all,
here is my syntax.
if (users_table)
{
a=1;
}
if("timea".equals(rs.getString("timea")))
{
b=Math.floor((rs.getInt("DURATION"))-(rs.getInt("USED_DURATION"))/60);
}
else if("timeb".equals(rs.getString("timeb")))
{
if(myvar==1)
{
c=rs.getString("timec");
}
}
i am not getting any error but i think i am wrong somewhere in framing the syntax.bcs i am getting output stange.
Any help will be greatly appreciated.