This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LDDestroier's profile picture

Artie - realtime file viewer

Started by LDDestroier, 26 November 2016 - 03:04 AM
LDDestroier #1
Posted 26 November 2016 - 04:04 AM
A basic program used for viewing a file, and reading all changes as they happen.
This is an early version, and could use some polish or extra features or whatever. But it works.


 pastebin get uKMMLFYX artie
 std PB uKMMLFYX artie

Named after pronouncing "RT", for Real Time, and for my obsession with Skin Horse and Narbonic.
Anavrins #2
Posted 26 November 2016 - 08:45 AM

while true do
    _,contbl = fileToTable(filename)
    render(scrollX,scrollY,contbl)
    sleep(0)
end
Ouch, that'll hit a server right in the hard drive!