BBS: Inland Empire Archive
Date: 10-07-92 (19:15)             Number: 324
From: MATT HART                    Refer#: NONE
  To: TOM CARROLL                   Recvd: NO  
Subj: filedate.bas                   Conf: (2) Quik_Bas
 TC> 'other minor changes...  I keep getting an overflow error when the
 TC> 'date/time that I have down below is used.  I know, you're probably

     Woops.  Here's the offending code:

 TC>     HMS& = Hours& + Minutes& + Seconds&
 TC>     IF HMS& > 65536 THEN
 TC> = 65536 - HMS&
 TC>     ELSE
 TC> = HMS&  ' <<< This is where it's cookies gets
 TC>     END IF                '     Tossed.  It exits with error #6.

          IF HMS& > 65536 THEN

          IF HMS& => 65536 THEN
          IF HMS& > 65535 THEN
 * Origin: Midnight Micro!  V.32/REL  (918)451-3306 (1:170/600)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET