My Crc-32 routine

 BBS: Inland Empire Archive
Date: 10-06-92 (06:30)             Number: 336
From: ARTHUR SHIPKOWSKI            Refer#: NONE
  To: RICH GELDREICH                Recvd: NO  
Subj: My Crc-32 routine              Conf: (2) Quik_Bas
Hello Rich!

Sunday October 04 1992 11:16, Rich Geldreich wrote to All:

 RG>     Ooops! Forget to tell everybody that my all-QB CRC routine WILL NOT
 RG> work in the enviroment- I optimized it to work compiled. It will bomb
 RG> out from an overflow error when it tries to convert the 32 bit CRC into
 RG> an integer for a fast AND 255:
 RG> CINT(A&) AND 255
 RG>     is faster than
 RG> A& AND 255
 RG>     Sorry about that guys...

Ack! And after I spent an hour trying to fix that CINT by
writing my own LNG to INT function (which nuked the
CRC...), and eventually changing CINT to CLNG...


 * Origin: [The BASIC Point] [North Greece, NY] (1:260/213.2)
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