file

Deprecated

Use sUtils.

The file library is a deprecated library that loaded .skgrp files, it has been assimilated into sUtils

split(inputstr, sep)Split a string by it's separator.
countLines(file)Count the number of lines in the file.
loadGrpLines(file, output)Load a .skgrp file onto the screen.
loadAppGraphics(file, file, name)loadAppGraphics is a function that was supposed to load icons in certain places, but was never finished and does not function.
loadApps(settingsFile)
getSize(path)Recursively get the size of a folder.
split(inputstr, sep)Source

Split a string by it's separator.

Parameters

  1. inputstr string String to split.
  2. sep string Separator to split the string by.

Returns

  1. table Table containing the split string.
countLines(file)Source

Count the number of lines in the file.

Parameters

  1. file string File to count the lines of.

Returns

  1. number lines Amount of lines in the file.
loadGrpLines(file, output)Source

Load a .skgrp file onto the screen.

Parameters

  1. file string Path to the file to draw.
  2. output table Terminal object to draw to, defaults to term.current().
loadAppGraphics(file, file, name)Source

loadAppGraphics is a function that was supposed to load icons in certain places, but was never finished and does not function.

Parameters

  1. file string path to image file
  2. file string path to settings file
  3. name string name of the app to load
loadApps(settingsFile)Source

Parameters

  1. settingsFile
getSize(path)Source

Recursively get the size of a folder.

Parameters

  1. path string Path to the folder or file.

Returns

  1. number size Size of the folder or file.