Changes

Nasal library/os.path

112 bytes added, 19:53, 15 April 2018
m
realpath: finish
{{Nasal doc
|syntax = os.path.realpath;
|text = A variable that is a string and gives the full file path. This should only be used when the path is an absolute path. If the path is relative, it will simply be appended to the FlightGear folder (the level up from [[$FG_ROOT]]).
|example1 = var path = os.path.new(getprop("/sim/fg-home"));
print(path.realpath); # prints the absolute path of $FG_HOME
}}
 
==== file ====
==== dir ====