Advertisement
Mat484

sys

Dec 9th, 2020
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. This is the CC-DOS System API.
  2.  
  3. Functions:
  4. sys.cd(mnt,path) - Changes the current drive and path
  5. sys.getcache(name) - Returns the cached data from a cached
  6. sys.getconfig(name) - Returns a configuration value, if name is nil then it returns the entire configuration
  7. sys.getvar(name) - Returns a system variable value
  8. sys.setcache(name,cache) - Writes to the cache
  9. sys.setvar(name,value) - Sets a system variable value
  10. sys.resetCache(name) - Resets a cache
  11. sys.version() - Alias of os.version(), returns "CC-DOS Version " then the build version of CC-DOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement