On Thu, Sep 15, 2005 at 09:57:56PM -0400, Steve Knoblock wrote:
> In NASAL, when I write
> 
> elec = getprop("/systems/electrical/volts[0]");
> print("elec:");
> print(elec);
> 
> It prints nothing.

If you do that at startup time, the property may not be
known yet. In this case use something like

INIT = func {
  elec = ...
}

settimer(INIT, 0);

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to