datafile blues
Rick

OK, let make this simpler.

When I have nested datafiles can I use find_datafile_object() to find each nested datafile?

Lion.dat
     --Sit.dat   "SIT"
           --East.dat   "EAST"
                --bmp
           --West.dat   "WEST"
                --bmp

I do:

DATAFILE* main;
DATAFILE* sub1;
DATAFILE* sub2;

main = load_datafile("path");
sub1 = find_datafile_object(main, "SIT");  //this works
sub2 = find_datafile_object(sub1, "EAST"); //this doesn't seem to work

Any idea why searching on a nested datafile doesn't work?

[EDIT]
Doc says

Quote:

It understands '/' and '#' separators for nested datafile paths.

, but I don't know what that means.

[EDIT2]
Ah I get it now. I have use '/' for nested datafiles like they were diectories.

Thread #567809. Printed from Allegro.cc