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");

-- 
Csaba/Jester

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to