On my machine I observe that the various scripts in the Nasal/ directory get loaded in some hard-to-predict order.
That means that if you write a script called foo.nas, it's hard to know whether it will get processed before or after math.nas and/or props.nas. So the question is, what to do if foo.nas wants to make use of the features provided by the other scripts? I know about the trick of using settimer(stuff, 0). But what if we wanted to use math functions in the code that actually runs at the time the scripts are loaded? In particular, does nasal have any sort of "#include" directive (as in c++) or "require" or "use" directive (as in perl)? If so, is it documented somewhere? If not, has anybody thought about how to implement it? ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel