Looky-here

 BBS: Inland Empire Archive
Date: 06-09-92 (19:53)             Number: 129
From: BUTCH ADAMS                  Refer#: NONE
  To: ALL                           Recvd: NO  
Subj: Looky-here                     Conf: (2) Quik_Bas
Here is an interesting thing I picked up in one of these
magazines in this stack over here this month:

First run this.....

Print TIME$
For x = 1 to 10
        For y = 1 to 10000
                a = y
        Next y
Print x
Next x
Print TIME$

now add DEFINT A-Z to the top of the code and run again.

I knew to use integers whenever possible but I had no idea
the difference was this astounding!

B.


--- Maximus 2.01wb
 * Origin: Programmers do it in code. (1:271/29)
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