2,732
edits
Red Leader (talk | contribs) m (Add note on history) |
Red Leader (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
|text = A pseudo-class (actually a Nasal ghost). This is the main class that stores and allows manipulation of file paths. This is also integrated into the <code>os.path</code>. | |text = A pseudo-class (actually a Nasal ghost). This is the main class that stores and allows manipulation of file paths. This is also integrated into the <code>os.path</code>. | ||
}} | }} | ||
==== new() ==== | ==== new() ==== | ||
{{Nasal doc | |||
|syntax = geo.Coord.new(path); | |||
|text = Constructor function. Returns a new <code>os.path</code> instance. | |||
|param1 = path | |||
|param1text = A string pointing to a filepath. | |||
|example1 = # Note: This is a Windows filepath | |||
var path = os.path.new("C:/Windows"); | |||
print(path.realpath); | |||
}} | |||
==== set() ==== | ==== set() ==== | ||
==== append() ==== | ==== append() ==== |