* Roy Vegard Ovesen -- Friday 06 April 2007: > I'm trying to create a new flasher for the KAP140 autopilot. This is what I > have so far:
Why don't you use the sophisticated aircraft.light flasher? Re-inventing the wheel? :-) > NewFlasher.flash = func { [...] > settimer(me.flash, 1.0); > } > } > Nasal runtime error: undefined symbol: me > at /blah-blah/Aircraft/Generic/kap140.nas, line 138 You have to call the method as settimer(func { me.flash() }, 1.0); m. ------------------------------------------------------------------------- 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 Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel