On Sep 13, 2011, at 4:17 PM, Csaba Halász wrote:

> On Wed, Sep 14, 2011 at 12:37 AM, Adam Dershowitz, Ph.D., P.E.
> <adershow...@exponent.com> wrote:
>> 
>> I have a script that is giving me permission errors when it runs.  The scrip 
>> is in data/Nasal.  It contains this line:
>>        var file=io.open("data/latlong.csv",mode="r");
> 
> Try this:
> var file=io.open(getprop("/sim/fg-root") ~ "/latlong.csv",mode="r");
> 

That does it.  

Thanks,


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to