MY problem is related to entry of research data.
The researchformula is entered into a textbox alongwith other usual form entries like title,subject,startdate etc.
The formula consists of alzebra, trignometric, otherfunctions etc.
Example
[B]x = 12;
y = 24 + tit[x] + mixer[x];
z = x + sin(x) + tan(x+y) - max[x,y];
#final result is 24.778273666352;[/B]
The program is not concerned with the syntax or result of these formulas.
The form must however display some details of the formula in the following format in textbox on buttonclick
a) variableused name and characterlocation of variables like x(1,19) y(8,)
since x is at 1,19 position and y starts at 8 position
b) functioused name,location - same as above
> variablenames and functionname always start with a alphabet
> the only difference is functionname is always followed by a parenthesis( ) ot bracket[ ]
> # symbol denotes a comment and need not be considered
> all statements are separated with a semicolon including #
would greatly appreciate any guidance related to this query.