Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("touchpoint")
- local page1 = touchpoint.new("right")
- local page2 = touchpoint.new("right")
- local t
- local pages = {}
- local addressbook = {}
- function addAddress()
- addressbook.gate1 = "BAARAANAA"
- addressbook.gate2 = "CABDAARAA"
- addressbook.gate3 = "AAB3AAAAA"
- addressbook.gate4 = "AAB5AA5AA"
- addressbook.gate5 = "AAB4ABKAA"
- addressbook.gate6 = "AABVABSAA"
- addressbook.gate7 = "AAA7ACBAA"
- addressbook.gate8 = "AAAXACLAA"
- end
- function arrowPage(page)
- if page == pages.getn() then
- t = pages(1)
- else t = pages(page+1)
- end
- end
- pages = {page1, page2}
- local pagenum = 1
- print(table.getn(pages))
- --print(pagenum)
- --t = page1
- --t:draw()
- --arrowPage(pagenum)
- --os.sleep(3)
- --t:draw()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement