Posts: 503
Threads: 31
Joined: Feb 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:
i]"But...it was so beautifully done"[/i]
Posts: 28
Threads: 5
Joined: Apr 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.
Posts: 2,404
Threads: 153
Joined: Jan 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,. ,. Then when ever I get the dysplay render going, I'll release the beta..
Kevin ( x.t.r.GRAPHICS)
Posts: 2,404
Threads: 153
Joined: Jan 2005
*drum roll*
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)
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
Posts: 2,404
Threads: 153
Joined: Jan 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:
Kevin ( x.t.r.GRAPHICS)
Posts: 2,404
Threads: 153
Joined: Jan 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!
Kevin ( x.t.r.GRAPHICS)
Posts: 2,771
Threads: 96
Joined: Oct 2003
you should add:
Code: IF INKEY$ = CHR$(255)+ "X" THEN END
Posts: 2,404
Threads: 153
Joined: Jan 2005
:???: I have:
Code: IF press$ = CHR$(27) THEN END
Why, whats wrong on your end?
Kevin ( x.t.r.GRAPHICS)
Posts: 1,845
Threads: 44
Joined: Aug 2002
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 =)
|