2,732
edits
Red Leader (talk | contribs) No edit summary |
Red Leader (talk | contribs) m (→Class: .new: Add Unix example) |
||
Line 19: | Line 19: | ||
|param1 = path | |param1 = path | ||
|param1text = A string pointing to a filepath. | |param1text = A string pointing to a filepath. | ||
|example1 = # | |example1 = var path = os.path.new("C:/Windows"); # A Windows filepath | ||
var path = os.path.new(" | # var path = os.path.new("/usr/bin/"); # A Unix filepath | ||
print(path.realpath); | print(path.realpath); | ||
}} | }} |