Hello all, I have built a calculator but it can only take two numbered i.e x+y
I would like to make one where you can input whatever you want I.e
X+y-a/d.
But I have no idea where to start, I wanted to take the string the user inputs and convert it to a integer so I can simply calculate what they enter but that of course just returns the error “invalid integer”
Any help is greatly appreciated!!Thanks in advance to anyone who helps me out!!
Someone suggested using TFPExpressionParser but after going through the documentation, I still don't understand how i would go about using this with lazarus ide to make a claulator.Could someone help me out?