in reply to Re: Out of Memory 2.
in thread Out of Memory 2.

Then I put the sample expression you provided "(a+b)(c+d.)" in a file named postfix.txt as follows: ... This isn't surprising as there is nothing in your code to handle the parentheses.

It is a postfix expression evaluator. That example would have to be entered as a,b,+,c,d,+,x


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."