From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Datafiles Stuph... Date: Tue, 27 May 1997 19:16:36 +0100 Organization: None Distribution: world Message-ID: References: <5m39k7$2hga AT elmo DOT cadvision DOT com> <5mdlqs$2ufu AT elmo DOT cadvision DOT com> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Calvin French writes: >problems. Anyways, I do have one more question. Is there a way to load a >datafile object strictly by NUMBER (rather than name)? All my other Easy: just give them names like "1", "2", "3" etc :-) If you really want to do it by position index, it would be a fairly simple change to the load_datafile_object() function, but I think that would be quite a dangerous approach. When you are reading individual objects out of an archive file, it seems a bit risky to write code that depends on the precise ordering of the archive. Using ASCII object names is much safer... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.