Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I downloaded
JavaScript Mathematical Expression Evaluator
from:
http://www.codeproject.com/KB/scripting/jsexpressioneval/JSExpressionEval_src.zip[^]

and analysed the file "Tokenizer.js" and I think there must be a mistake in line number 47.

Shouldn't there be a comma between u and v:
var lstAlpha = "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,uv,w,x,y,z";

Norbert
norbert.kraemer@real-net.de
Posted
Comments
Vivek Krishnamurthy 1-Jul-11 17:35pm    
Any specific reason you posted this question here... ?
You can posting it in the article itself.

1 solution

I see no sense in expression evaluator when it comes to Javascript, because the code it can its the Javascript interpreter itself via function eval.

Please see my Javascript calculator; you can get its full source code if you use "View page source": http://www.sakryukov.org/freeware/calculator/[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900