No, I had no extension. I now know what the problem was but it wasn't
clear when I first created it. Sometimes we programmers get too used to
our fancy do it all editors and forget that their is a price for all the
bells and whistles that work behind the curtain. In this case I use an
editor called Multi-Edit which has been around for years and is popular
among programmers that work in multi programmer environments with
different languages. One of the things it does is keep track of all the
edits made to a file so they can be indexed and searched. The price of
this is an extra byte added to every line for control and indexing purposes.
Even though this file only had eight bytes and no ending spaces or
carriage returns, it did have this extra byte hidden in the file that
was not viewable within Multi-Edit even in hex edit mode. I created the
same file with the basic Notepad.exe and it was a perfect 8 bytes. The
file created with Multi-Edit opened in Notepad and saved stripped the
extra byte. Anyone using the most basic of editors will probably have no
problems but the idea of checking the file size against the number of
characters helps in determining if there is an extra space or a hard
carriage return added.
A lot of people may not have a pro editor and are probably using just a
simple program like notepad but if things are not working, it doesn't
matter what editor you are using, an 8 byte file should work as long as
the text, USGENWEB, is in all caps and the file is called banner_select
without a file extension. If it is anything other than 8 bytes there
will be a problem.
Denny Shirer - drdx(a)neo.rr.com - Canton, OH
Shirer Family Genealogy -
http://freepages.genealogy.rootsweb.com/~mysong
Muskingum County, OHGenWeb -
http://www.rootsweb.com/~ohmuskin/
Joan Asche wrote:
I had no problem at all -- make sure you have no file extension in
your file manager.