quote:
Originally posted by Mattike
I'm having lots more problems with the tab itself to change position when the user shows/hides the display pictures, or when the "is typing" message contains emoticons. Read the first post for more, detailed information.
adding something to the formatting bar like that is not going to work. There are way too many complications. Just to name one:
where are you going to show the icon/window?
Personally, I would even not attempt to do it because it is a waste of time (unless you do it in the proper way, like Plus! does it... which is extremely hard...)
quote:
Originally posted by Mattike
The thing was to share your calculations with your contacts, not calculating some things for yourself.
Which can perfectly be done with a command... It's just a matter of what you output. see
"
CookieRevised's reply to An idea for a script" for an extremely easy Calculator script using the JScript's
eval() function.
(a thread which you also participated in )
And to make something different, but still based upon the same thing, you can take the idea which is described in
this thread, namely: showing all the steps of the calculation.
(though this requires you to forget about infox to postfix calculation (almost) as the calculation need to be calculated in your script using infix style)
quote:
Originally posted by markee
I think I might have a solution for you. You can use calc.exe and parse keystrokes to it, then one the equation is finished you just get your script to copy (ctrl+v) and you can the read the last entry in the clipboard.
I dunno which is worse, using a HTTP stream and using some form on the web, or sending keystrokes to the (very limited) calc application...
quote:
Originally posted by markee
It might not be a very nice way of going about this but if anyone else has a better suggestion about doing this have a go at it.
well... see all my posts in this thread
quote:
Originally posted by Shondoit
Cookie, I'm not sure if I missed something... Could you have a look?
I'm not going to strip down your routine line per line though (way too much work
).
If your script is based upon the modified version 23/10/02 of Premshree Pillai's code, it should work.
PS: I added yet another link to my infix/postfix post which explains a similar, but other method of converting (recursive method instead of using a stack).
However, I can see you use strings to store the stack? If so, this is not so good. It would be better if you use arrays for this like you do in your CalculatePostfix function.
----------------
Related, and of use for all who are interested in making something which has todo with calulating math expressions:
CookieRevised's reply to Advanced VB coders