On Friday 06 April 2007 18:28, Melchior FRANZ wrote:
>
> Why don't you use the sophisticated aircraft.light flasher?
> Re-inventing the wheel?  :-)

Didn't know about that wheel ;-)

After playing around with it a bit I see that it does not quite meet the 
requirements that I have. I need to blink an arbitrary number of times and 
then stop in either the on or off state. As far as I can see the 
aircraft.light class loops through the pattern forever.

I assume that you are the author of aircraft.nas. I want to add a new method 
to the light class where one can go through a pattern an abritrary number of 
times. Or is that already possible somehow?

I see that aircraft.light uses typechecking and stuff to extract the correct 
arguments. Wouldn't this be much simpler with named arguments instead of 
arg[]?

-- 
Roy Vegard Ovesen

-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to