How do I male a calculator...

BlitzPlus Forums/BlitzPlus Programming/How do I male a calculator...

Hey, I was wondering if anyone could help me or give me some code for calculator(prefferably scientific, but it doesnt matter) that is just like a real calculator, and lets you just type in like "7+8x6/2"??? Its probably a really noobish question, but I dont know what to do! Thanks alot............

Do you know the difference betweeen Male and Mail?

You want to code a calculator in blitz?

There's one that comes with windows.

What exactly are you trying to achieve?

His school assigment perhaps? ;)

Maybe he wants a math-parser in blitz like the one I saw around here some weeks ago ..?

Thats' exactly what he wants and I'm sure there's one in the code archives.

Yeah, I know the difference between Male and Mail. Mail is somethingyou send, and mail is something you`re not ( Rob Farley). Just kidding. I just want a calculator because of a school project. Thanx

o_O

3 options:
- use the Windows-one ..
- go to a shop and get a full-blown Texas Instruments calculator
- use 'Print'

still I feel no-one gets the point here :)

Here are somefunctions I found in the code archives to do it. Don't ask me how to use them because I don't know. :-)

http://www.blitzbasic.com/codearcs/codearcs.php?code=390

http://www.blitzbasic.com/codearcs/codearcs.php?code=931

Maybe he wants a math-parser in blitz like the one I saw around here some weeks ago ..?


[url]http://www.blitzbasic.co.nz/Community/posts.php?topic=38264#428330[/url]

If you realy need it i made a RPN calculator, you would have to make a parser to turn the 7+8x6/2 into RPN syntax, tell me if you want me to post it.