Please share your thoughts on the new main page and portal's look in the village pump!
Nasal Snippets
From FlightGear wiki
| This article is a stub. You can help the wiki by expanding it.. |
This page is meant to collect commonly used or otherwise useful Nasal snippets for use in FlightGear, ideally this will help new users to get started programming in Nasal more easily.
If you have any Nasal specific questions, you will want to check out Nasal FAQ, feel free to ask new questions or help answer or refine existing ones.
Dumping all keys in a Hash
var dump_keys = func(hash) {
if (typeof(hash)!="hash") die ("argument not a hash");
foreach(k; keys(hash))
print(k,":",typeof(hash[k]),"\n")
}