T
threepins
Hi,
Trying the following ...
function getCurrentVal(poValue)
{
var lcCurrentVal = 0;
if (isNaN(parseInt(poValue)))
{
var loValue = poValue.toUpperCase();
if (loValue == "/")
{
lcCurrentVal = "/";
}
if (loValue == "X")
(
lcCurrentVal = "X";
{
}
else
{
lcCurrentVal = parseInt(poValue);
}
if(lcCurrentVal)
{
return lcCurrentVal;
}
}
and am getting the error
Error: missing ) in parenthetical
Line: 189, Column: 23
Source Code:
lcCurrentVal = "X";
I can't for the life of me figure it out. If i comment this line out it
works fine (but then that check is removed). Any help would be most
appreciated.
Cheers
Bj McGowan
Trying the following ...
function getCurrentVal(poValue)
{
var lcCurrentVal = 0;
if (isNaN(parseInt(poValue)))
{
var loValue = poValue.toUpperCase();
if (loValue == "/")
{
lcCurrentVal = "/";
}
if (loValue == "X")
(
lcCurrentVal = "X";
{
}
else
{
lcCurrentVal = parseInt(poValue);
}
if(lcCurrentVal)
{
return lcCurrentVal;
}
}
and am getting the error
Error: missing ) in parenthetical
Line: 189, Column: 23
Source Code:
lcCurrentVal = "X";
I can't for the life of me figure it out. If i comment this line out it
works fine (but then that check is removed). Any help would be most
appreciated.
Cheers
Bj McGowan