Search found 2 matches

by worchyld
Wed Aug 20, 2003 6:12 pm
Forum: QBasic / QuickBasic related
Topic: Validating Custom Dates in my own game
Replies: 2
Views: 1341

Re: Validating Custom Dates in my own game

Thanks a lot for all your help.

I downloaded quite a few calendar scripts - I got one of them to work pretty well (with Leap Year functions, etc) - all I do is keep a storage of the day, month and year (I ditched the week idea) and call the appropriate function or test it against the calendar's ...
by worchyld
Fri Aug 15, 2003 3:33 pm
Forum: QBasic / QuickBasic related
Topic: Validating Custom Dates in my own game
Replies: 2
Views: 1341

Validating Custom Dates in my own game

In my game I want to use

type curGame
    day as integer
    week as integer
    month as integer
    year as integer
end type

You play each 'day' and the day is incremented at the end of each day (thus incrementing the week, month, etc).

Now how do I ...