Qbasicnews.com
Better Looking Calculator. (File Updated 04/26/05) - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+---- Forum: FB Projects (http://qbasicnews.com/newforum/forum-16.html)
+---- Thread: Better Looking Calculator. (File Updated 04/26/05) (/thread-6845.html)

Pages: 1 2 3 4 5


Better Looking Calculator. (File Updated 04/26/05) - Mitthrawnuruodo - 04-15-2005

Quote:-I inserted a lock buffer so if you hold the mouse, it want add, mult, ect, 100 times over.. :wink:

Just wait for the mouse button to go up before you alow the possiblility of input :wink:

Quote:-Needs more debuging
-Need to make a display renderer
Need help? I'm your guy.

Quote:-Need some ppl to try and break it (aka: Debug (Just download, find something, report it here, don't risk trying to email me))
:bounce: oooh, me, me.....pick me! :rotfl:


Better Looking Calculator. (File Updated 04/26/05) - Zip - 04-15-2005

Know what'd be super-sexy? A graphing feature. And perhaps a solver for various types of equations. And an RPG. And an OS. And a billion dollars... Nevermind. Smile


Better Looking Calculator. (File Updated 04/26/05) - Rattrapmax6 - 04-15-2005

Quote:
Rattrapmax6 Wrote:-I inserted a lock buffer so if you hold the mouse, it want add, mult, ect, 100 times over.. :wink:

Just wait for the mouse button to go up before you alow the possiblility of input :wink:

Um, yeah:

Code:
DO: GETMOUSE x, y, , buttons: LOOP UNTIL buttons = 0
:wink:

Quote:
Rattra Wrote:-Need some ppl to try and break it (aka: Debug (Just download, find something, report it here, don't risk trying to email me))
:bounce: oooh, me, me.....pick me! :rotfl:

:rotfl: I was going to just release a beta,. Maybe I'll send ya the one in debug mode,. Smile ,. Then when ever I get the dysplay render going, I'll release the beta..


Better Looking Calculator. (File Updated 04/26/05) - Rattrapmax6 - 04-16-2005

*drum roll*

Smile Here is my near realease beta version.. The display is nothing fancy yet, but its now there for you to try and break it.. :wink:

http://members.aol.com/rattrapmax6/fbfiles/calc.zip

Enjoy!


Better Looking Calculator. (File Updated 04/26/05) - Anonymous - 04-16-2005

nice, not too bad. couple suggestions:

make so when theres a number and you start an operation, such as "+", the original number is displayed until theres a new keypress, instead of 0

make numbers work to input numbers, and "/" for division, "*" or "x" for multi, etc... (bonus: make "\" for integer division and you beat mscalc Wink )

if you do an operation like 10 + .5 then hit "=", you can then hit decimal and add more numbers onto the end of the 10.5 . this shouldnt be so. otherwise, not too bad man Smile


Better Looking Calculator. (File Updated 04/26/05) - Rattrapmax6 - 04-16-2005

Thanks, first attemt at a calculator,. you should of seen the mess it was when I began.. :lol:

Right, I'll see about those modifications.. :wink:


Better Looking Calculator. (File Updated 04/26/05) - Rattrapmax6 - 04-16-2005

Update:

Fixed=Display errors.. :wink:

Added=Better Display buffer, flicker removed..

Not Added (yet)=Key inputs..

Removed=DOS Box.. (Thanks to Mistik(Helped me fix my screwwed up IDE when I did so. :lol: ))

Here is the new 1, or should be if I zipped it right (cept having to redo it)... :wink:
http://members.aol.com/rattrapmax6/fbfiles/calc2.zip

Enjoy! Big Grin


Better Looking Calculator. (File Updated 04/26/05) - KiZ - 04-16-2005

you should add:

Code:
IF INKEY$ = CHR$(255)+ "X" THEN END



Better Looking Calculator. (File Updated 04/26/05) - Rattrapmax6 - 04-16-2005

:???: I have:

Code:
IF press$ = CHR$(27) THEN END

Why, whats wrong on your end?


Better Looking Calculator. (File Updated 04/26/05) - Neo - 04-16-2005

dark_prevail's code also ends the program when you click the window cross in windows.

Since you haven't implemented that, the program won't quit when you press X on the window =)