Difference between revisions of "Os"
(remove language stuff) |
m |
||
Line 18: | Line 18: | ||
[[os.remove]] ''deletes file with given name, nil if fails''<br/><!--GIDEROSMTD:os.remove(filename) deletes file with given name, nil if fails--> | [[os.remove]] ''deletes file with given name, nil if fails''<br/><!--GIDEROSMTD:os.remove(filename) deletes file with given name, nil if fails--> | ||
[[os.rename]] ''renames file oldname to newname, nil if fails''<br/><!--GIDEROSMTD:os.rename(oldname,newname) renames file oldname to newname, nil if fails--> | [[os.rename]] ''renames file oldname to newname, nil if fails''<br/><!--GIDEROSMTD:os.rename(oldname,newname) renames file oldname to newname, nil if fails--> | ||
− | [[os.setlocale]] '' | + | [[os.setlocale]] ''sets current locale of program, returns name of new locate or nil''<br/><!--GIDEROSMTD:os.setlocale(locale,category) set current locale of program, returns name of new locate or nil--> |
[[os.time]] ''returns current time (usually seconds) or time as represented by table''<br/><!--GIDEROSMTD:os.time(table) returns current time (usually seconds) or time as represented by table--> | [[os.time]] ''returns current time (usually seconds) or time as represented by table''<br/><!--GIDEROSMTD:os.time(table) returns current time (usually seconds) or time as represented by table--> | ||
[[os.timer]] ''returns precise time in seconds relative to some arbitrary point''<br/><!-- GIDEROSMTD:os.timer() returns precise time in seconds relative to some arbitrary point--> | [[os.timer]] ''returns precise time in seconds relative to some arbitrary point''<br/><!-- GIDEROSMTD:os.timer() returns precise time in seconds relative to some arbitrary point--> |
Latest revision as of 23:30, 22 January 2023
Supported platforms:
Available since: Gideros 2011.6
Description
Operating System Facilities.
Methodsos.clock returns CPU time used by program in seconds |
EventsConstants |