Hi!
can anyone help me to parse some string into tree...
I have Q function, this is something like "if else"
for example:
Q<VSecCode=0?B0+B2:B1>
if(VSecCode == 0)
display(B0+B2);
else
display(B1);
and i have V function, it is something like "for"
V(VSecCode,VSecName,VPortfolioCode)[B0 + Q<VSecCode=0?B0+B2:B1>]
for(VSecCode.length)
display(B0 + Q<VSecCode=0?B0+B2:B1>);
My string to parse and show as tree is for example:
Q<VSecCode=0?B9+B11+Q<VSecCode=0?B9+B11:B1>:B1+V(V SecCode,VSecName,VPortfolioCode,VOperBalance,VOrde rBlock,VOtherBlock,VBalance,VValue)[B2]>
I want to show this string as a tree...and I dont know how to parse it when these functions are nested....:(