Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Better Looking Calculator. (File Updated 04/26/05)
#11
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:
i]"But...it was so beautifully done"[/i]
Reply
#12
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
Reply
#13
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..
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#14
*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!
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#15
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
Reply
#16
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:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#17
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
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#18
you should add:

Code:
IF INKEY$ = CHR$(255)+ "X" THEN END
Reply
#19
:???: I have:

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

Why, whats wrong on your end?
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#20
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 =)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)