On 1/15/07, AJ MacLeod <[EMAIL PROTECTED]> wrote:

For some reason, nasal scripts are not necessarily initialised in the same
order on every machine (regardless of FG version) The non-working hotspots
etc sound very much like a problem with initialising a nasal script; this
can
happen if a script depends on properties being set by another script,
which
hasn't necessarily been run yet.

I came across this some time ago with the Lightning... a bit annoying (and
very confusing at first!) but it's possible to work around.



I don't think there is a defined order when dirent is returning directory
entries.  It probably just returns them in the order they physically exist
in the directory which may vary from system to system depending on when/how
the files were created and if files are deleted from the same directory in
the mean time.  This can all change from installation to installation
depending on when or how often someone does cvs update.  Alphabetic order is
simply a convenience offered by the file lister utility.

It would be good to write scripts so they aren't order dependent, or else we
should come up with a *well* defined way to ensure that scripts are
initialized in a particular order ... but that might get to be really
complex so it would be nice to avoid this if at all possible.

Curt.
--
Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/  http://www.humanfirst.umn.edu/
http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to