jwcolby
jwcolby at colbyconsulting.com
Sat Sep 19 19:32:12 CDT 2009
You have way too much time on your hands. ;) John W. Colby www.ColbyConsulting.com Arthur Fuller wrote: > Good point, Stuart! Maybe we should initiate a contest harking back to the > original Dr. Dobb's Code Obfuscation contest, in which readers were invited > to submit incomprehensible c code. Let's have a contest for incomprehensible > VBA code! > Contest rules: > 1. You must provide an installable file for puzzlers that installs and works > out of the zip file. > 2. It must do something magical that is not readily comprehended. > 3. It must run successfully on any Access platform. Versions and References > must be thoroughly documented, so that any challenger can duplicate the > situation and then attempt to comprehend the code. > 4. No code-hiding is permitted. Everything must be available for inspection > and deduction and so on. > > Given that this group concentrates on Access, let's confine the initial > contest to VBA code, I suggest, and let's see where it spins from this > starting point. This gives us tools such as Single-Step, Stack Inspection, > etc. so that we can investigate what the code actually does step by step, > what procs call what others, etc. > > I would think it only fair in such a competition that Option Explicit be > declared so no "changing datatype" sleight-of-hand is permitted, as well as > no statements such as "Declare lngAddress As String" -- both of which I deem > beneath the dignity of this contest. > > Anyone interested in playing this contest? > > A.