Changes

Jump to navigation Jump to search
455 bytes added ,  16:16, 25 October 2016
Line 198: Line 198:  
|param3 = target
 
|param3 = target
 
|param3text = Optional place to put the results in the [[Property Tree]]. May be either a <code>props.Node</code> object or a property path.
 
|param3text = Optional place to put the results in the [[Property Tree]]. May be either a <code>props.Node</code> object or a property path.
|example1 =  
+
|example1 = var data = io.read_airport_properties("KSFO", "ils"); # the airport might need changing
 +
props.dump(data); # dump data
 +
|example2 = var node = props.globals.getNode("demo", 1);
 +
io.read_airport_properties("KSFO", "ils", node); # the airport might need changing
 +
props.dump(node); # dump data
 +
|example3 = var path = "/demo";
 +
io.read_airport_properties("KSFO", "ils", path); # the airport might need changing
 +
props.dump(props.globals.getNode(path)); # dump data
 
}}
 
}}
  

Navigation menu