Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --The Purpose of this script is to Draw, Load Data, and manage Menu
- local Apps = {}
- local colors = require "colors"
- local component = require "component"
- local gpu = component.gpu
- gpu.fill(1, 1, 10, 10, " ")
- function GatherFiles()
- CheckApps()
- end
- function DrawScreen()
- local x = 1
- local y = 1
- local i = 0
- if i < Apps.length, i++ then
- if x < 5 then
- x = x + 1
- else
- x = 1
- y = y + 1
- end
- end
- end
- function CheckApps()
- local h = fs.open("AppList", fs.exists("AppList"),"r")
- local i = 0
- repeat
- Apps(i) = h.readLine()
- i = i + 1
- until (i = 20)
- h.close()
- end
Add Comment
Please, Sign In to add comment