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:
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.
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,.
,. Then when ever I get the dysplay render going, I'll release the beta..
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
)
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
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:
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!
:???: I have:
Code:
IF press$ = CHR$(27) THEN END
Why, whats wrong on your end?
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 =)