Subj : unbaja To : Angus McLeod From : Deuce Date : Sun Sep 11 2005 12:32 pm Re: unbaja By: Angus McLeod to Deuce on Sun Sep 11 2005 09:44:00 > People will presumably be unbaja-ing source code that contains variables > *other* than the built-in variables. You could include a handful of > likely candidates, such as: > > a, b, c, f, i, j, k, p, q, s, x, y, z, buf, buffer, cnt, count, > hnd, handle, str, wk, wrk, work, fname, filename, val, value > > and so forth. If you used a look-up table instead of a switch, you could > even externalize the table at some later date, allowing for user defined > entries... > > Pay no attention -- just rambling on at the mouth... Ah, actually, we were looking at doing that... depends on just how well used unbaja becomes. Of course, feel free to do it yourself... it'd be easy enough to add a check of an external file and a CRC calculation (crc32 is localted in ../smblib) into the default case... then probobly hold matches (and negative matches) in memory. Actually, doing the file lookup during the STR and INT declarations would make the most sense... then just have the default case search through matched names before it uses a var_* format. If you wait for me to do it, it'll most likely be some time before I finish up... I don't suppose there's a table of crc32 matches to upper-case alphanumeric strings on the internet somewhere is there? --- þ Synchronet þ ``Penguins make tasty snacks'' .