Weekly Qbasic and Qb64 Lesson Topics
April 18, 2024, 09:07:34 pm
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to see a specific Tutorial? ASK!
 
  Home Help Search Arcade Links Staff List Login Register  

My calculator,Math useing input,loops, and some choices

Pages: [1] 2 3
  Print  
Author Topic: My calculator,Math useing input,loops, and some choices  (Read 2518 times)
GarrisonRicketson
Admin
Administrator
Hero Member
*****
Posts: 583



WWW
« on: March 14, 2011, 01:28:21 am »

It looks good, but, I found a "bug" I tried 58 devided by 10, and keep getting 1.3,....? should be 5.8, the add, multiply seems to be good,...
and don't get me wrong, I couldn't have even done this much,...
From Garry, take your time there is no hurry
OOPS!
Code:
        ' ------------- Row 2 ---Divide ----- Not Set up yet ----
    IF _MOUSEX > 189 AND _MOUSEX < 233 AND _MOUSEY > 82 AND _MOUSEY < 104 THEN
        IF _MOUSEBUTTON(1) THEN
            txtpos = 220: _PRINTSTRING (21, 23), "                              "
            Answer$ = "Div"
            Sum = Shown
            Shown = 0
            Shonum$ = ""
        END IF
    END IF
                     
Sorry, it is not a "bug", I just noticed in your code,.
divide----not set up yet, some numbers do divide ok,..but if it is not  yet ready...
But deffinately looks good so far..
OlDoslover, yes big numbers,...but not to big,...so they all fit on my screen!
ABOUT THIS BIG   
« Last Edit: March 14, 2011, 01:40:58 am by GarrisonRicketson » Report Spam   Logged


Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy