Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript Error: Expected ';'

Status
Not open for further replies.

kanin247

Programmer
Apr 23, 2001
113
US
I keep getting the following error:

Line: 88
Char: 59
Error: Expected ';'

for the code:

L86 var BSPRIM = ((0.0683655)*(Math.log(EQSP)));
L87 var BFPRIM = aCoordinates[numSelection].BFPRIM;
L88 var CHARG = (((0.00000001)*(KV*KV))/(BFPRIM+BSPRIM))*MILG);

I don't understand why I'm getting this error. At Char 59 I do have a semi-colon where it says that I'm suppose to have one. Is there something I'm overlooking?

I appreciate your help.
~kanin
 
You had an extra brace. Try the following
(((0.00000001)*(KV*KV))/(BFPRIM+BSPRIM)*MILG);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top