On Tuesday 03 April 2007 09:51:50 Nick Warne wrote: > Hi all, > > I noticed today I get a nasal error on starting fgfs with the c172p: > > Nasal runtime error: nil used in numeric context > at /usr/share/FlightGear/data/Aircraft/Generic/kap140.nas, line 1438 > called from: /usr/share/FlightGear/data/Aircraft/Generic/kap140.nas, line > 287 > > Tracing through kap140.nas, line 1431 > > pressureAltitude = getprop(encoder, "pressure-alt-ft"); > > produces nil, as prop "/instrument/encoder/pressure-alt-ft" doesn't > exist/isn't created, so therefore line 1438:
Sorry, typo - I meant: "/instrumentation/encoder/pressure-alt-ft" doesn't exist. Nick ------------------------------------------------------------------------- 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

