> there was no listener known with this id). This can be used for statistics:
>
> id = setlistener("/sim/signals/quit", func {}); # let's not count this one
> num = removelistener(id);
>
> print("there were ", id, " Nasal listeners attached since fgfs was
> started");
> print("of which ", num, " are still active");
Very nice. Kinda like the fd arithmetic in UNIX, with the classic dup()
tricks! :-)
Vassilii
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel