Weekly Qbasic and Qb64 Lesson Topics
November 09, 2024, 04:36:38 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  

Calculate Age

Pages: [1]
  Print  
Author Topic: Calculate Age  (Read 6053 times)
GarrisonRicketson
Admin
Administrator
Hero Member
*****
Posts: 583



WWW
« on: November 25, 2011, 07:48:51 am »

Well I did post a link to this thread, on qb64.net, and this is what I got,
posted by DeeBee
at qb64.net

The wrong sub should not call start.
It should return to start, and after it calls wrong, there should
be an evil GOTO to re-ask the value.

Also the leap year formula is incorrect, but it will probably work for what they are doing.
http://en.wikipedia.org/wiki/Leap_year
-----------------------------------
Garry (me) added,
 I notice he says "evil" goto,.. some people are against useing goto,..but there also are times when it is useful,or even neccessary,...
Report Spam   Logged


Pages: [1]
  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