-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Melchior FRANZ wrote: > * AnMaster -- Saturday 08 December 2007: >> Melchior FRANZ wrote: >>> You probably defined a variable named "aircraft" somewhere else >>> in the joystick driver file, and this overwrote the "aircraft" >>> namespace > >> Ah, should call it aircraft-model or something then. Thanks I was >> not aware that nasal would do this. > > Nasal doesn't do this by itself. That's a joystick driver feature. > The same is true in the keyboard.xml file and dialog XML files. > It allows to define generic parts like functions and variables in > a separate <nasal> block, and to use them in all nasal bindings. > If you define a local "aircraft" variable, then this will have > precedence over the a global one. Indeed that was what I did, as a way to do aircraft specific mappings. Now I renamed the variable to aircraft-model.
/AnMaster -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHWdeEWmK6ng/aMNkRCrDhAKCgJ4IcDijoPDgYr0E+oC/LAdtNWwCeLsyN J9ntvNOcxViwLvGsPfcDq6c= =dwPr -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel