Mail Archives: djgpp/1997/06/01/19:50:04
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.
- Raw text -