* Melchior Franz -- Thursday 25 May 2006 20:31: > Log Message: > the harrier triggers a Nasal bug: "continue" doesn't execute the "for" > loop's reinitialization part. We have to do that manually for now, or > get caught in an endless loop, until fgfs has mercy and segfaults.
> - if(cap == nil or cap < 1) { continue; } > + if(cap == nil or cap < 1) { i+=1; continue; } For the record: I couldn't confirm this claim in a minimal test. There "continue" worked as advertized. Don't know yet what's wrong here in the "Fuel & Payload" dialog. It definitely used to work, and definitely crashed with the harrier. This is a temporary workaround. I'll investigate ... (It's a known bug, though, that "continue" and "break" don't work in "foreach" and "forindex". :-) m. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel