ComputerCraft icon indicating copy to clipboard operation
ComputerCraft copied to clipboard

[Suggestion] fs API changes

Open EzraJ opened this issue 6 years ago • 1 comments

You should make it so we can read a specific line of a file: fs.readLine(1) lets us read the contents of the first line of a file. You should also add an ability to write to a specific line of a file; fs.writeLine(2, "I wrote this to line 2")

EzraJ avatar Jun 23 '18 01:06 EzraJ

Might be worth having a look at #504 (namely the seek functionality), which would enable similar functionality.

SquidDev avatar Jun 23 '18 08:06 SquidDev